Share via


PSWorkflowDefinition Constructors

Definition

Overloads

PSWorkflowDefinition(Activity, String, String)

Workflow instance constructor.

PSWorkflowDefinition(Activity, String, String, Dictionary<String,String>)

Workflow instance constructor.

PSWorkflowDefinition(Activity, String, String)

Workflow instance constructor.

public:
 PSWorkflowDefinition(System::Activities::Activity ^ workflow, System::String ^ workflowXaml, System::String ^ runtimeAssemblyPath);
public PSWorkflowDefinition (System.Activities.Activity workflow, string workflowXaml, string runtimeAssemblyPath);
new Microsoft.PowerShell.Workflow.PSWorkflowDefinition : System.Activities.Activity * string * string -> Microsoft.PowerShell.Workflow.PSWorkflowDefinition
Public Sub New (workflow As Activity, workflowXaml As String, runtimeAssemblyPath As String)

Parameters

workflow
Activity

The workflow definition, represented in object-graph.

workflowXaml
String

The workflow xaml definition.

runtimeAssemblyPath
String

The path to the runtime assembly.

Applies to

PSWorkflowDefinition(Activity, String, String, Dictionary<String,String>)

Workflow instance constructor.

public:
 PSWorkflowDefinition(System::Activities::Activity ^ workflow, System::String ^ workflowXaml, System::String ^ runtimeAssemblyPath, System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ requiredAssemblies);
public PSWorkflowDefinition (System.Activities.Activity workflow, string workflowXaml, string runtimeAssemblyPath, System.Collections.Generic.Dictionary<string,string> requiredAssemblies);
new Microsoft.PowerShell.Workflow.PSWorkflowDefinition : System.Activities.Activity * string * string * System.Collections.Generic.Dictionary<string, string> -> Microsoft.PowerShell.Workflow.PSWorkflowDefinition
Public Sub New (workflow As Activity, workflowXaml As String, runtimeAssemblyPath As String, requiredAssemblies As Dictionary(Of String, String))

Parameters

workflow
Activity

The workflow definition, represented in object-graph.

workflowXaml
String

The workflow xaml definition.

runtimeAssemblyPath
String

The path to the runtime assembly.

requiredAssemblies
Dictionary<String,String>

Required assemblies paths

Applies to