PSWorkflowInstance Members

Represents all of the information related to a workflow instance. This SDK programming element is introduced in Windows PowerShell 3.0.

The following tables list the members exposed by the PSWorkflowInstance type.

  Name Description
  PSWorkflowInstance Initializes a new instance of the PSWorkflowInstance class.
Top

(see also Protected Properties)
 NameDescription
public propertyErrorGets or sets the exception to throw when errors occur in the workflow.
public propertyInstanceIdGets the global identifier of the workflow instance. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyInstanceStoreGets the instance store of the workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyPSWorkflowContextGets or sets the workflow metadata.
public propertyPSWorkflowDefinitionGets the workflow definition. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyPSWorkflowJobGets the PowerShell workflow job associated with this workflow instance. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyRemoteActivityState 
public propertyStateGets or sets the workflow job state.
public propertyStreamsGets or sets the output streams for the workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
public propertyTimerGets or sets the timer for the workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
Top

  Name Description
protected property Disposed Gets or sets a value that indicates whether the workflow instance has been disposed.
protected property OnAborted Gets the event handler for the OnAborted event.
protected property OnCompleted Gets the event handler for the OnCompleted event.
protected property OnFaulted Gets the event handler for the OnFaulted event.
protected property OnIdle Gets the event handler for the OnIdle event.
protected property OnPersistableIdleAction Gets the event handler for the OnPersistableIdleAction event, which determines what action to take if the workflow becomes idle and persistence is allowed.
protected property OnStopped Gets the event handler for the OnStopped event.
protected property OnSuspended Gets the event handler for the OnSuspended event.
protected property OnUnloaded Gets the event handler for the OnUnloaded event.
protected property SyncLock Gets a synchronization object available to derived classes. This object is available to applications or services to coordinate the execution of multiple threads.
Top

(see also Protected Methods)
 NameDescription
public methodDisposeOverloaded.  
public methodDisposeStreamsReleases the streams used by the workflow instance.
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToString  (Inherited from Object)
Top

  Name Description
protected method Dispose Overloaded.  
protected method DoAbortInstance Aborts the workflow instance.
protected method DoCreateInstance Loads the XAML to create an executable activity.
protected method DoExecuteInstance Runs this workflow instance.
protected method DoGetPersistableIdleAction Retrieves the action to take if the workflow becomes idle and persistence is allowed.
protected method DoPersistInstance Saves this workflow instance to a persisted memory store.
protected method DoRemoveInstance Removes this workflow instance from local memory and the persisted workflow store.
protected method DoResumeBookmark Resumes a job that has been partially completed by a custom activity controller.
protected method DoResumeInstance Resumes a previously suspended workflow.
protected method DoStopInstance Stops this workflow instance.
protected method DoSuspendInstance Suspends the current workflow instance.
protected method DoTerminateInstance Terminates this workflow.
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft