3.WorkflowTrackingRecord可以得到實例每個狀態發生變化時通知的信息
TrackingWorkflowEvent類型值如下
Aborted:
Changed:
Completed:
Created:
Exception:
Idle:
Loaded:
Persisted:
Resumed:
Started:
Suspended:
Terminated:
Unloaded:
發生時間:EventDateTime
4.ActivityTrackingRecord可以得到Activity每個狀態發生變化時通知的信息
Activity曾發生的狀態,Activity類型,Activity上下文GUID,該狀態發生的時間,Activity容器對象GUID,Activity名(開發時對象名)等等
ExecutionStatus 狀態說明
ActivityExecutionStatus類型,值如下
Canceling:
Closed:
Compensating:
Executing:
Faulting:
Initialized:
EventArgs
TrackingWorkflowSuspendedEventArgs : 掛起
TrackingWorkflowTerminatedEventArgs:終止(異常就是引起終止的原因之一)
TrackingWorkflowExceptionEventArgs:異常
UserTrackingRecord可以得到用戶狀態