WorkflowInfo Constructor

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new instance of the WorkflowInfo Class.Initializes a new instance of the WorkflowInfo Class.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)

Dim name As String
Dim workflow As ScriptBlock
Dim xamlDefinition As Dictionary(Of String, String)
Dim module As PSModuleInfo

Dim instance As New WorkflowInfo(name, workflow, xamlDefinition, module)

public WorkflowInfo (
	string name,
	ScriptBlock workflow,
	Dictionary<string,string> xamlDefinition,
	PSModuleInfo module
public WorkflowInfo (
	String name, 
	ScriptBlock workflow, 
	Dictionary<String,String> xamlDefinition, 
	PSModuleInfo module
public function WorkflowInfo (
	name : String, 
	workflow : ScriptBlock, 
	xamlDefinition : Dictionary<String,String>, 
	module : PSModuleInfo

The default constructor initializes any fields to their default values.


Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.