JAMS Developer Guide
PSWorkflowHost Constructor


MVPSI.JAMS.Activities.PowerShell Namespace > PSWorkflowHost Class : PSWorkflowHost Constructor
Creates PowerShell host for running PowerShell from workflow activities.
Syntax
'Declaration
 
Public Function New( _
   ByVal context As System.Activities.NativeActivityContext, _
   ByVal execOptions As System.String, _
   ByVal consoleFilePath As System.String _
)
'Usage
 
Dim context As System.Activities.NativeActivityContext
Dim execOptions As System.String
Dim consoleFilePath As System.String
 
Dim instance As New PSWorkflowHost(context, execOptions, consoleFilePath)
public PSWorkflowHost( 
   System.Activities.NativeActivityContext context,
   System.string execOptions,
   System.string consoleFilePath
)

Parameters

context
execOptions
consoleFilePath
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PSWorkflowHost Class
PSWorkflowHost Members