17 references to ContextActivity
System.Workflow.Runtime (17)
ContextActivityUtils.cs (2)
28
return ((ActivityExecutionContextInfo)
ContextActivity
(activity).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextId;
40
Activity contextActivity =
ContextActivity
(activity);
CorrelationToken.cs (5)
124
subscriber.InvokeDelegate(ContextActivityUtils.
ContextActivity
(activity), eventArgs, true, false);
144
subscriber.InvokeDelegate(ContextActivityUtils.
ContextActivity
(activity), eventArgs, true, false);
160
ContextActivityUtils.
ContextActivity
(activity), true);
181
ContextActivityUtils.
ContextActivity
(activity), true);
273
Activity contextActivity = ContextActivityUtils.
ContextActivity
(activity);
DebugEngine\DebugController.cs (3)
947
Activity contextActivity = ContextActivityUtils.
ContextActivity
(activity);
1027
Activity contextActivity = ContextActivityUtils.
ContextActivity
(activity);
1041
Activity contextActivity = ContextActivityUtils.
ContextActivity
(activity);
Tracking.cs (1)
424
return ((ActivityExecutionContextInfo)ContextActivityUtils.
ContextActivity
(activity).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
WorkflowExecutor.cs (5)
185
trackingCallingState.CallerContextGuid = ((ActivityExecutionContextInfo)ContextActivityUtils.
ContextActivity
(invokerExec.CurrentActivity).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
189
trackingCallingState.CallerParentContextGuid = ((ActivityExecutionContextInfo)ContextActivityUtils.
ContextActivity
(invokerExec.CurrentActivity.Parent).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
2575
Guid contextGuid = ((ActivityExecutionContextInfo)ContextActivityUtils.
ContextActivity
(currentActivity).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
2578
parentContextGuid = ((ActivityExecutionContextInfo)ContextActivityUtils.
ContextActivity
(currentActivity.Parent).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
3091
queuingService.CallingActivity = ContextActivityUtils.
ContextActivity
(activity);
WorkflowStateRollbackService.cs (1)
61
this.activityContextId = ContextActivityUtils.ContextId(ContextActivityUtils.
ContextActivity
(currentActivity));