WorkflowInstance.WorkflowInstanceControl Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods for WorkflowInstance derived classes to access the functionality of the workflow runtime.
protected: value class WorkflowInstance::WorkflowInstanceControl
protected struct WorkflowInstance.WorkflowInstanceControl
Protected Structure WorkflowInstance.WorkflowInstanceControl
- Inheritance
Has |
Called by the workflow runtime to determine whether this workflow instance has pending tracking records and a tracking participant. |
Is |
Gets a value that indicates whether the WorkflowInstance is in a state where it can be persisted. |
State |
Gets the state of the WorkflowInstance. |
Tracking |
Called by the workflow runtime to determine whether tracking is enabled in this workflow instance. |
Abort() |
Aborts the WorkflowInstance. |
Abort(Exception) |
Aborts the WorkflowInstance using the specified exception. |
Begin |
Called by the workflow runtime to begin sending pending tracking records to tracking participants asynchronously. |
End |
Called by the workflow runtime to end the track operation. |
Equals(Object) |
Returns a value that indicates whether the current WorkflowInstance.WorkflowInstanceControl is equal to the specified object. |
Flush |
Called by the workflow runtime to send pending tracking records to tracking participants. |
Get |
Returns the exception that causes the WorkflowInstance to abort. |
Get |
Returns the collection of available bookmarks for the WorkflowInstance. |
Get |
Returns the collection of available bookmarks for the WorkflowInstance created in the specified BookmarkScope. |
Get |
Returns the final ActivityInstanceState of the WorkflowInstance. |
Get |
Returns the final ActivityInstanceState of the WorkflowInstance, including termination exception. |
Get |
Returns the final ActivityInstanceState of the WorkflowInstance, including workflow outputs and termination exception. |
Get |
Returns the hash code for this WorkflowInstance.WorkflowInstanceControl. |
Get |
Returns a dictionary of variables in the current scope that have been specified with Mapped. |
Pause |
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. |
Prepare |
Prepares the WorkflowInstance state for serialization. |
Request |
Requests that the scheduler stops. |
Run() |
Instructs the WorkflowInstance to begin execution. |
Schedule |
Schedules a Bookmark resumption from the specified BookmarkScope. |
Schedule |
Schedules a bookmark resumption with the specified value. |
Schedule |
Schedules the cancellation of the WorkflowInstance. |
Terminate(Exception) |
Transitions the WorkflowInstance into the terminal Faulted state using the specified exception. |
Track(Workflow |
Called by the workflow runtime to add the specified pending record to the list of pending records. |
Equality(Workflow |
Returns a value that indicates whether two WorkflowInstance.WorkflowInstanceControl instances are equal. |
Inequality(Workflow |
Returns a value that indicates whether two WorkflowInstance.WorkflowInstanceControl instances are not equal. |
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: