Megosztás a következőn keresztül:


WorkflowInfo Constructors

Definition

Overloads

WorkflowInfo(String, String, ScriptBlock, String, WorkflowInfo[])

Creates an instance of the workflowInfo class with the specified name and ScriptBlock

WorkflowInfo(String, String, ScriptBlock, String, WorkflowInfo[], PSModuleInfo)

Creates an instance of the workflowInfo class with the specified name and ScriptBlock

WorkflowInfo(String, String, ScriptBlock, String, WorkflowInfo[])

Creates an instance of the workflowInfo class with the specified name and ScriptBlock

public:
 WorkflowInfo(System::String ^ name, System::String ^ definition, System::Management::Automation::ScriptBlock ^ workflow, System::String ^ xamlDefinition, cli::array <System::Management::Automation::WorkflowInfo ^> ^ workflowsCalled);
public WorkflowInfo (string name, string definition, System.Management.Automation.ScriptBlock workflow, string xamlDefinition, System.Management.Automation.WorkflowInfo[] workflowsCalled);
new System.Management.Automation.WorkflowInfo : string * string * System.Management.Automation.ScriptBlock * string * System.Management.Automation.WorkflowInfo[] -> System.Management.Automation.WorkflowInfo
Public Sub New (name As String, definition As String, workflow As ScriptBlock, xamlDefinition As String, workflowsCalled As WorkflowInfo())

Parameters

name
String

The name of the workflow.

definition
String

The script body defining the workflow.

workflow
ScriptBlock

The ScriptBlock for the workflow

xamlDefinition
String

The XAML used to define the workflow

workflowsCalled
WorkflowInfo[]

The workflows referenced within xamlDefinition.

Exceptions

If workflow is null.

Applies to

WorkflowInfo(String, String, ScriptBlock, String, WorkflowInfo[], PSModuleInfo)

Creates an instance of the workflowInfo class with the specified name and ScriptBlock

public:
 WorkflowInfo(System::String ^ name, System::String ^ definition, System::Management::Automation::ScriptBlock ^ workflow, System::String ^ xamlDefinition, cli::array <System::Management::Automation::WorkflowInfo ^> ^ workflowsCalled, System::Management::Automation::PSModuleInfo ^ module);
public WorkflowInfo (string name, string definition, System.Management.Automation.ScriptBlock workflow, string xamlDefinition, System.Management.Automation.WorkflowInfo[] workflowsCalled, System.Management.Automation.PSModuleInfo module);
new System.Management.Automation.WorkflowInfo : string * string * System.Management.Automation.ScriptBlock * string * System.Management.Automation.WorkflowInfo[] * System.Management.Automation.PSModuleInfo -> System.Management.Automation.WorkflowInfo
Public Sub New (name As String, definition As String, workflow As ScriptBlock, xamlDefinition As String, workflowsCalled As WorkflowInfo(), module As PSModuleInfo)

Parameters

name
String

The name of the workflow.

definition
String

The script body defining the workflow.

workflow
ScriptBlock

The ScriptBlock for the workflow

xamlDefinition
String

The XAML used to define the workflow

workflowsCalled
WorkflowInfo[]

The workflows referenced within xamlDefinition.

module
PSModuleInfo

module

Exceptions

If workflow is null.

Applies to