protected static BeginInvokeWithErrorMessage ( IServiceProvider serviceProvider, |
||
serviceProvider | IServiceProvider | service provider |
dispatcher | dispatcher | |
action | System.Action | action to invoke |
return | void |
protected static void BeginInvokeWithErrorMessage(IServiceProvider serviceProvider, Dispatcher dispatcher, Action action)
{
dispatcher.BeginInvoke(new Action(() => CallWithErrorMessage(serviceProvider, action)));
}