1 write to WorkflowInstanceId
System.Activities (1)
System\Activities\Runtime\ActivityExecutor.cs (1)
370
WorkflowInstanceId
= this.host.Id;
25 references to WorkflowInstanceId
System.Activities (25)
System\Activities\ActivityContext.cs (1)
89
return this.executor.
WorkflowInstanceId
;
System\Activities\ActivityInstance.cs (3)
1221
executor.AddTrackingRecord(new ActivityStateRecord(executor.
WorkflowInstanceId
, this, this.state));
1281
executor.AddTrackingRecord(new ActivityStateRecord(executor.
WorkflowInstanceId
, this, this.state));
1289
executor.AddTrackingRecord(new ActivityStateRecord(executor.
WorkflowInstanceId
, this, this.state));
System\Activities\Runtime\ActivityExecutor.cs (19)
320
throw FxTrace.Exception.AsError(new CallbackException(SR.CallbackExceptionFromHostGetExtension(this.
WorkflowInstanceId
), e));
837
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.StateCannotBeSerialized(this.
WorkflowInstanceId
)));
1462
FxTrace.Trace.SetAndTraceTransfer(this.
WorkflowInstanceId
, true);
1466
TD.WorkflowActivityResume(this.
WorkflowInstanceId
);
1484
FxTrace.Trace.SetAndTraceTransfer(this.
WorkflowInstanceId
, true);
1488
TD.WorkflowActivityStart(this.
WorkflowInstanceId
);
1506
TD.WorkflowActivitySuspend(this.
WorkflowInstanceId
);
1546
throw FxTrace.Exception.AsError(new CallbackException(SR.CallbackExceptionFromHostAbort(this.
WorkflowInstanceId
), e));
1604
AddTrackingRecord(new CancelRequestedRecord(this.
WorkflowInstanceId
, null, this.rootInstance));
1648
AddTrackingRecord(new CancelRequestedRecord(this.
WorkflowInstanceId
, activityInstance.Parent, activityInstance));
1719
AddTrackingRecord(new FaultPropagationRecord(this.
WorkflowInstanceId
,
1733
AddTrackingRecord(new FaultPropagationRecord(this.
WorkflowInstanceId
,
1838
throw FxTrace.Exception.AsError(new CallbackException(SR.CallbackExceptionFromHostGetExtension(this.
WorkflowInstanceId
), e));
2557
AddTrackingRecord(new BookmarkResumptionRecord(this.
WorkflowInstanceId
, bookmark, resumeExecutionWorkItem.ActivityInstance, value));
2678
AddTrackingRecord(new BookmarkResumptionRecord(this.
WorkflowInstanceId
, bookmark, resumeExecutionWorkItem.ActivityInstance, value));
2833
AddTrackingRecord(new ActivityScheduledRecord(this.
WorkflowInstanceId
, parent, handlerInstance));
2900
AddTrackingRecord(new ActivityScheduledRecord(this.
WorkflowInstanceId
, parent, activityInstance));
2947
AddTrackingRecord(new ActivityScheduledRecord(this.
WorkflowInstanceId
, parent, new ActivityInfo(activity, instanceId)));
3528
executor.
WorkflowInstanceId
,
System\Activities\Runtime\ExecuteSynchronousExpressionWorkItem.cs (1)
242
executor.AddTrackingRecord(new ActivityStateRecord(executor.
WorkflowInstanceId
, activityInfo, state));
System\Activities\Runtime\Scheduler.cs (1)
537
return this.activityExecutor.
WorkflowInstanceId
;