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