PSWorkflowInstance Properties

(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.

  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.

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