Provides methods for WorkflowInstance derived classes to access the functionality of the workflow runtime.
Assembly: System.Activities (in System.Activities.dll)
Called by the workflow runtime to determine whether this workflow instance has pending tracking records and a tracking participant.
Gets a value that indicates whether the WorkflowInstance is in a state where it can be persisted.
Gets the state of the WorkflowInstance.
Called by the workflow runtime to determine whether tracking is enabled in this workflow instance.
Aborts the WorkflowInstance.
Aborts the WorkflowInstance using the specified exception.
|BeginFlushTrackingRecords(TimeSpan, AsyncCallback, Object)|
Called by the workflow runtime to begin sending pending tracking records to tracking participants asynchronously.
Called by the workflow runtime to end the track operation.
Returns a value that indicates whether the current ValueType.Equals(Object).)is equal to the specified object.(Overrides
Called by the workflow runtime to send pending tracking records to tracking participants.
Returns the exception that causes the WorkflowInstance to abort.
Returns the collection of available bookmarks for the WorkflowInstance.
|GetCompletionState(IDictionary<String, Object>, Exception)|
Returns the hash code for this ValueType.GetHashCode().).(Overrides
Returns a dictionary of variables in the current scope that have been specified with Mapped.
Requests that the workflow runtime pause the WorkflowInstance at the next point of execution where it is possible to persist. Note that the scheduler queue may not be empty at this point.
Prepares the WorkflowInstance state for serialization.
Requests that the scheduler stops.
Instructs the WorkflowInstance to begin execution.
Schedules a bookmark resumption with the specified value.
|ScheduleBookmarkResumption(Bookmark, Object, BookmarkScope)|
Schedules the cancellation of the WorkflowInstance.
Returns the fully qualified type name of this instance.(Inherited from ValueType.)
Called by the workflow runtime to add the specified pending record to the list of pending records.
Returns a value that indicates whether twoinstances are equal.
Returns a value that indicates whether twoinstances are not equal.
Available since 4.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.