Partager via


IAstToWorkflowConverter.CompileWorkflows Method

Definition

Overloads

CompileWorkflows(ScriptBlockAst, PSModuleInfo)
CompileWorkflows(ScriptBlockAst, PSModuleInfo, String)
CompileWorkflows(ScriptBlockAst, PSModuleInfo, InitialSessionState, ParseException)
CompileWorkflows(ScriptBlockAst, PSModuleInfo, InitialSessionState, ParseException, String)
CompileWorkflows(ScriptBlockAst, PSModuleInfo, InitialSessionState, Nullable<PSLanguageMode>, ParseException)

CompileWorkflows(ScriptBlockAst, PSModuleInfo)

public:
 System::Collections::Generic::List<System::Management::Automation::WorkflowInfo ^> ^ CompileWorkflows(System::Management::Automation::Language::ScriptBlockAst ^ ast, System::Management::Automation::PSModuleInfo ^ definingModule);
public System.Collections.Generic.List<System.Management.Automation.WorkflowInfo> CompileWorkflows (System.Management.Automation.Language.ScriptBlockAst ast, System.Management.Automation.PSModuleInfo definingModule);
abstract member CompileWorkflows : System.Management.Automation.Language.ScriptBlockAst * System.Management.Automation.PSModuleInfo -> System.Collections.Generic.List<System.Management.Automation.WorkflowInfo>
Public Function CompileWorkflows (ast As ScriptBlockAst, definingModule As PSModuleInfo) As List(Of WorkflowInfo)

Parameters

definingModule
PSModuleInfo

Returns

Applies to

CompileWorkflows(ScriptBlockAst, PSModuleInfo, String)

public:
 System::Collections::Generic::List<System::Management::Automation::WorkflowInfo ^> ^ CompileWorkflows(System::Management::Automation::Language::ScriptBlockAst ^ ast, System::Management::Automation::PSModuleInfo ^ definingModule, System::String ^ rootWorkflowName);
public System.Collections.Generic.List<System.Management.Automation.WorkflowInfo> CompileWorkflows (System.Management.Automation.Language.ScriptBlockAst ast, System.Management.Automation.PSModuleInfo definingModule, string rootWorkflowName);
abstract member CompileWorkflows : System.Management.Automation.Language.ScriptBlockAst * System.Management.Automation.PSModuleInfo * string -> System.Collections.Generic.List<System.Management.Automation.WorkflowInfo>
Public Function CompileWorkflows (ast As ScriptBlockAst, definingModule As PSModuleInfo, rootWorkflowName As String) As List(Of WorkflowInfo)

Parameters

definingModule
PSModuleInfo
rootWorkflowName
String

Returns

Applies to

CompileWorkflows(ScriptBlockAst, PSModuleInfo, InitialSessionState, ParseException)

public:
 System::Collections::Generic::List<System::Management::Automation::WorkflowInfo ^> ^ CompileWorkflows(System::Management::Automation::Language::ScriptBlockAst ^ ast, System::Management::Automation::PSModuleInfo ^ definingModule, System::Management::Automation::Runspaces::InitialSessionState ^ initialSessionState, [Runtime::InteropServices::Out] System::Management::Automation::ParseException ^ % parsingErrors);
public System.Collections.Generic.List<System.Management.Automation.WorkflowInfo> CompileWorkflows (System.Management.Automation.Language.ScriptBlockAst ast, System.Management.Automation.PSModuleInfo definingModule, System.Management.Automation.Runspaces.InitialSessionState initialSessionState, out System.Management.Automation.ParseException parsingErrors);
abstract member CompileWorkflows : System.Management.Automation.Language.ScriptBlockAst * System.Management.Automation.PSModuleInfo * System.Management.Automation.Runspaces.InitialSessionState * ParseException -> System.Collections.Generic.List<System.Management.Automation.WorkflowInfo>
Public Function CompileWorkflows (ast As ScriptBlockAst, definingModule As PSModuleInfo, initialSessionState As InitialSessionState, ByRef parsingErrors As ParseException) As List(Of WorkflowInfo)

Parameters

definingModule
PSModuleInfo
initialSessionState
InitialSessionState
parsingErrors
ParseException

Returns

Applies to

CompileWorkflows(ScriptBlockAst, PSModuleInfo, InitialSessionState, ParseException, String)

public:
 System::Collections::Generic::List<System::Management::Automation::WorkflowInfo ^> ^ CompileWorkflows(System::Management::Automation::Language::ScriptBlockAst ^ ast, System::Management::Automation::PSModuleInfo ^ definingModule, System::Management::Automation::Runspaces::InitialSessionState ^ initialSessionState, [Runtime::InteropServices::Out] System::Management::Automation::ParseException ^ % parsingErrors, System::String ^ rootWorkflowName);
public System.Collections.Generic.List<System.Management.Automation.WorkflowInfo> CompileWorkflows (System.Management.Automation.Language.ScriptBlockAst ast, System.Management.Automation.PSModuleInfo definingModule, System.Management.Automation.Runspaces.InitialSessionState initialSessionState, out System.Management.Automation.ParseException parsingErrors, string rootWorkflowName);
abstract member CompileWorkflows : System.Management.Automation.Language.ScriptBlockAst * System.Management.Automation.PSModuleInfo * System.Management.Automation.Runspaces.InitialSessionState * ParseException * string -> System.Collections.Generic.List<System.Management.Automation.WorkflowInfo>
Public Function CompileWorkflows (ast As ScriptBlockAst, definingModule As PSModuleInfo, initialSessionState As InitialSessionState, ByRef parsingErrors As ParseException, rootWorkflowName As String) As List(Of WorkflowInfo)

Parameters

definingModule
PSModuleInfo
initialSessionState
InitialSessionState
parsingErrors
ParseException
rootWorkflowName
String

Returns

Applies to

CompileWorkflows(ScriptBlockAst, PSModuleInfo, InitialSessionState, Nullable<PSLanguageMode>, ParseException)

public System.Collections.Generic.List<System.Management.Automation.WorkflowInfo> CompileWorkflows (System.Management.Automation.Language.ScriptBlockAst ast, System.Management.Automation.PSModuleInfo definingModule, System.Management.Automation.Runspaces.InitialSessionState initialSessionState, System.Management.Automation.PSLanguageMode? languageMode, out System.Management.Automation.ParseException parsingErrors);
abstract member CompileWorkflows : System.Management.Automation.Language.ScriptBlockAst * System.Management.Automation.PSModuleInfo * System.Management.Automation.Runspaces.InitialSessionState * Nullable<System.Management.Automation.PSLanguageMode> * ParseException -> System.Collections.Generic.List<System.Management.Automation.WorkflowInfo>
Public Function CompileWorkflows (ast As ScriptBlockAst, definingModule As PSModuleInfo, initialSessionState As InitialSessionState, languageMode As Nullable(Of PSLanguageMode), ByRef parsingErrors As ParseException) As List(Of WorkflowInfo)

Parameters

definingModule
PSModuleInfo
initialSessionState
InitialSessionState
languageMode
Nullable<PSLanguageMode>
parsingErrors
ParseException

Returns

Applies to