1 instantiation of AsyncInvokeContext
System.Activities (1)
System\Activities\WorkflowInvoker.cs (1)
393AsyncInvokeContext context = new AsyncInvokeContext(userState, this);
19 references to AsyncInvokeContext
System.Activities (19)
System\Activities\InvokeCompletedEventArgs.cs (1)
15internal InvokeCompletedEventArgs(Exception error, bool cancelled, AsyncInvokeContext context)
System\Activities\WorkflowApplication.cs (3)
1238static WorkflowApplication StartInvoke(Activity activity, IDictionary<string, object> inputs, WorkflowInstanceExtensionManager extensions, SynchronizationContext syncContext, Action invokeCompletedCallback, AsyncInvokeContext invokeContext) 1291internal static IAsyncResult BeginInvoke(Activity activity, IDictionary<string, object> inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout, SynchronizationContext syncContext, AsyncInvokeContext invokeContext, AsyncCallback callback, object state) 3072public InvokeAsyncResult(Activity activity, IDictionary<string, object> inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout, SynchronizationContext syncContext, AsyncInvokeContext invokeContext, AsyncCallback callback, object state)
System\Activities\WorkflowInvoker.cs (15)
22Dictionary<object, AsyncInvokeContext> pendingInvokes; 53Dictionary<object, AsyncInvokeContext> PendingInvokes 59this.pendingInvokes = new Dictionary<object, AsyncInvokeContext>(); 198AsyncInvokeContext context = this.RemoveFromPendingInvokes(userState); 347void AddToPendingInvokes(AsyncInvokeContext context) 386AsyncInvokeContext context = (AsyncInvokeContext)result.AsyncState; 393AsyncInvokeContext context = new AsyncInvokeContext(userState, this); 434AsyncInvokeContext context = (AsyncInvokeContext)result.AsyncState; 452void PostInvokeCompleted(AsyncInvokeContext context, Exception error) 466void PostInvokeCompleted(AsyncInvokeContext context, bool cancelled, Exception error) 479void PostInvokeCompletedAndRemove(AsyncInvokeContext context, Exception error) 497AsyncInvokeContext RemoveFromPendingInvokes(object userState) 499AsyncInvokeContext context;