JAMS 6.x Help
PSWorkflowHost Class Members
Properties  Methods 


The following tables list the members exposed by PSWorkflowHost.

Public Constructors
 NameDescription
Public ConstructorPSWorkflowHost ConstructorCreates PowerShell host for running PowerShell from workflow activities.  
Top
Public Properties
 NameDescription
Public PropertyCurrentCultureOverridden. Gets or sets the CultureInfo object that represents the culture used by the current thread.  
Public PropertyCurrentUICultureOverridden. Gets or sets the CultureInfo object that represents the current user interface culture used by the Resource Manager to look up culture-specific resources at run time.  
Public PropertyInstanceIdOverridden. Unique ID for PSHost  
Public PropertyNameOverridden. Name for PSHost  
Public PropertyPassParamsIf true, parameters from the Job are passed to the runspace  
Public PropertyPrivateDataOverridden. PrivateData of PSObject  
Public PropertyStackTraceIf true, the stack trace will be logged when errors occur  
Public PropertyUIOverridden. The PowerShell host User Interface  
Public PropertyVersionOverridden. Gets the version of the Assembly being executed  
Top
Public Methods
 NameDescription
Public MethodAllocateRunspaceAllocates a Runspace  
Public MethodEnterNestedPromptOverridden. When overridden in a derived class, instructs the host to interrupt the currently running pipeline and start a new nested input loop.  
Public MethodExitNestedPromptOverridden. When overridden in a derived class, instructs the host to exit the currently running input loop.  
Public Methodstatic (Shared in Visual Basic)GetPSHostReturns a PowerShell runspace  
Public MethodNotifyBeginApplicationOverridden. When overridden in a derived class, notifies the host that the Windows PowerShell runtime is about to execute a legacy command-line application.  
Public MethodNotifyEndApplicationOverridden. When overridden in a derived class, notifies the host that the Windows PowerShell engine has completed the execution of a legacy command.  
Public MethodReleaseRunspaceReleases a Runspace  
Public MethodSetShouldExitOverridden. hen overridden in a derived class, requests to end the current runspace. The Windows PowerShell engine calls this method to request that the host application shut down and terminate the host root runspace.  
Public Methodstatic (Shared in Visual Basic)StorePSRunspaceStores a PSRunspace as a Workflow context property  
Top
See Also

Reference

PSWorkflowHost Class
MVPSI.JAMS.Activities.PowerShell Namespace

Send Feedback