WorkflowInstance Methods
The WorkflowInstance type exposes the following members.
| Name | Description | |
|---|---|---|
|
Abort | Aborts the workflow instance. |
|
ApplyWorkflowChanges | Applies changes to the workflow instance specified by the WorkflowChanges object. |
|
EnqueueItem | Posts a message to the specified workflow queue synchronously. |
|
EnqueueItemOnIdle | Posts a message to the specified workflow queue when the workflow is idle. EnqueueItemOnIdle waits until the workflow reaches an idle point and enqueues after verifying that the workflow scheduler is idle (that is, no active operation is being executed). |
|
Equals | Returns a value that indicates whether the specified object is equal to the WorkflowInstance. (Overrides Object.Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Returns the hash code for this workflow instance. (Overrides Object.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
GetWorkflowDefinition | Retrieves the root activity for this workflow instance. |
|
GetWorkflowNextTimerExpiration | Returns the next point in time that this WorkflowInstance is scheduled to be delivered a timer message. |
|
GetWorkflowQueueData | Gets a collection of WorkflowQueueInfo objects that contains the pending items and subscribed activities for the workflow queues associated with this workflow instance. |
|
Load | Loads a previously unloaded workflow instance. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ReloadTrackingProfiles | Reload the tracking profiles for this workflow instance. |
|
Resume | Resumes execution of a previously suspended workflow instance. |
|
Start | Starts the execution of the workflow instance. |
|
Suspend | Suspends the workflow instance. |
|
Terminate | Terminates the workflow instance in a synchronous manner. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TryUnload | Unloads the workflow instance from memory to the persistence store when the instance is suspended or idle. |
|
Unload | Unloads the workflow instance from memory to the persistence store. This call blocks until after the currently scheduled work is finished, or the end of a transaction scope. |