Export (0) Print
Expand All

WorkflowInstance.WorkflowInstanceControl Methods

The WorkflowInstance.WorkflowInstanceControl type exposes the following members.

  Name Description
Public method Abort() Aborts the WorkflowInstance.
Public method Abort(Exception) Aborts the WorkflowInstance using the specified exception.
Public method BeginFlushTrackingRecords Called by the workflow runtime to begin sending pending tracking records to tracking participants asynchronously.
Public method EndFlushTrackingRecords Called by the workflow runtime to end the track operation.
Public method Equals Returns a value that indicates whether the current WorkflowInstance.WorkflowInstanceControl is equal to the specified object. (Overrides ValueType.Equals(Object).)
Public method FlushTrackingRecords Called by the workflow runtime to send pending tracking records to tracking participants.
Public method GetAbortReason Returns the exception that causes the WorkflowInstance to abort.
Public method GetBookmarks() Returns the collection of available bookmarks for the WorkflowInstance.
Public method GetBookmarks(BookmarkScope) Returns the collection of available bookmarks for the WorkflowInstance created in the specified BookmarkScope.
Public method GetCompletionState() Returns the final ActivityInstanceState of the WorkflowInstance.
Public method GetCompletionState(Exception) Returns the final ActivityInstanceState of the WorkflowInstance, including termination exception.
Public method GetCompletionState(IDictionary<String, Object>, Exception) Returns the final ActivityInstanceState of the WorkflowInstance, including workflow outputs and termination exception.
Public method GetHashCode Returns the hash code for this WorkflowInstance.WorkflowInstanceControl. (Overrides ValueType.GetHashCode().)
Public method GetMappedVariables Returns a dictionary of variables in the current scope that have been specified with Mapped.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method PauseWhenPersistable 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.
Public method PrepareForSerialization Prepares the WorkflowInstance state for serialization.
Public method RequestPause Requests that the scheduler stops.
Public method Run Instructs the WorkflowInstance to begin execution.
Public method ScheduleBookmarkResumption(Bookmark, Object) Schedules a bookmark resumption with the specified value.
Public method ScheduleBookmarkResumption(Bookmark, Object, BookmarkScope) Schedules a Bookmark resumption from the specified BookmarkScope.
Public method ScheduleCancel Schedules the cancellation of the WorkflowInstance.
Public method Terminate Transitions the WorkflowInstance into the terminal Faulted state using the specified exception.
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Public method Track Called by the workflow runtime to add the specified pending record to the list of pending records.
Top
Show:
© 2014 Microsoft