Export (0) Print
Expand All

WorkflowInstance Methods

The WorkflowInstance type exposes the following members.

  Name Description
Public method Abort Aborts the workflow instance.
Public method ApplyWorkflowChanges Applies changes to the workflow instance specified by the WorkflowChanges object.
Public method EnqueueItem Posts a message to the specified workflow queue synchronously.
Public method 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).
Public method Equals Returns a value that indicates whether the specified object is equal to the WorkflowInstance. (Overrides Object.Equals(Object).)
Public method GetHashCode Returns the hash code for this workflow instance. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetWorkflowDefinition Retrieves the root activity for this workflow instance.
Public method GetWorkflowNextTimerExpiration Returns the next point in time that this WorkflowInstance is scheduled to be delivered a timer message.
Public method GetWorkflowQueueData Gets a collection of WorkflowQueueInfo objects that contains the pending items and subscribed activities for the workflow queues associated with this workflow instance.
Public method Load Loads a previously unloaded workflow instance.
Public method ReloadTrackingProfiles Reload the tracking profiles for this workflow instance.
Public method Resume Resumes execution of a previously suspended workflow instance.
Public method Start Starts the execution of the workflow instance.
Public method Suspend Suspends the workflow instance.
Public method Terminate Terminates the workflow instance in a synchronous manner.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryUnload Unloads the workflow instance from memory to the persistence store when the instance is suspended or idle.
Public method 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.
Top
Show:
© 2014 Microsoft