Delen via


PSWorkflowJobManager.CreateJob Method

Definition

Overloads

CreateJob(Guid, Activity, String, String, Dictionary<String,Object>)

Create a workflow job by providing the activity-tree representing the workflow.

CreateJob(Guid, String, String, String, Dictionary<String,Object>)

Create a workflow job by providing the xaml representing the workflow.

CreateJob(Guid, Activity, String, String, Dictionary<String,Object>, Dictionary<String,Object>)

Create a workflow job by providing the activity-tree representing the workflow.

CreateJob(Guid, String, String, String, Dictionary<String,Object>, Dictionary<String,Object>)

Create a workflow job by providing the xaml representing the workflow.

CreateJob(Guid, Activity, String, String, Dictionary<String,Object>)

Create a workflow job by providing the activity-tree representing the workflow.

public:
 Microsoft::PowerShell::Workflow::PSWorkflowJob ^ CreateJob(Guid jobInstanceId, System::Activities::Activity ^ workflow, System::String ^ command, System::String ^ name, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ parameters);
public Microsoft.PowerShell.Workflow.PSWorkflowJob CreateJob (Guid jobInstanceId, System.Activities.Activity workflow, string command, string name, System.Collections.Generic.Dictionary<string,object> parameters);
member this.CreateJob : Guid * System.Activities.Activity * string * string * System.Collections.Generic.Dictionary<string, obj> -> Microsoft.PowerShell.Workflow.PSWorkflowJob
Public Function CreateJob (jobInstanceId As Guid, workflow As Activity, command As String, name As String, parameters As Dictionary(Of String, Object)) As PSWorkflowJob

Parameters

jobInstanceId
Guid
workflow
Activity
command
String
name
String
parameters
Dictionary<String,Object>

Returns

Applies to

CreateJob(Guid, String, String, String, Dictionary<String,Object>)

Create a workflow job by providing the xaml representing the workflow.

public:
 Microsoft::PowerShell::Workflow::PSWorkflowJob ^ CreateJob(Guid jobInstanceId, System::String ^ workflowXaml, System::String ^ command, System::String ^ name, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ parameters);
public Microsoft.PowerShell.Workflow.PSWorkflowJob CreateJob (Guid jobInstanceId, string workflowXaml, string command, string name, System.Collections.Generic.Dictionary<string,object> parameters);
member this.CreateJob : Guid * string * string * string * System.Collections.Generic.Dictionary<string, obj> -> Microsoft.PowerShell.Workflow.PSWorkflowJob
Public Function CreateJob (jobInstanceId As Guid, workflowXaml As String, command As String, name As String, parameters As Dictionary(Of String, Object)) As PSWorkflowJob

Parameters

jobInstanceId
Guid
workflowXaml
String
command
String
name
String
parameters
Dictionary<String,Object>

Returns

Applies to

CreateJob(Guid, Activity, String, String, Dictionary<String,Object>, Dictionary<String,Object>)

Create a workflow job by providing the activity-tree representing the workflow.

public:
 Microsoft::PowerShell::Workflow::PSWorkflowJob ^ CreateJob(Guid jobInstanceId, System::Activities::Activity ^ workflow, System::String ^ command, System::String ^ name, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ parameters, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ creationContext);
public Microsoft.PowerShell.Workflow.PSWorkflowJob CreateJob (Guid jobInstanceId, System.Activities.Activity workflow, string command, string name, System.Collections.Generic.Dictionary<string,object> parameters, System.Collections.Generic.Dictionary<string,object> creationContext);
member this.CreateJob : Guid * System.Activities.Activity * string * string * System.Collections.Generic.Dictionary<string, obj> * System.Collections.Generic.Dictionary<string, obj> -> Microsoft.PowerShell.Workflow.PSWorkflowJob
Public Function CreateJob (jobInstanceId As Guid, workflow As Activity, command As String, name As String, parameters As Dictionary(Of String, Object), creationContext As Dictionary(Of String, Object)) As PSWorkflowJob

Parameters

jobInstanceId
Guid
workflow
Activity
command
String
name
String
parameters
Dictionary<String,Object>
creationContext
Dictionary<String,Object>

Returns

Applies to

CreateJob(Guid, String, String, String, Dictionary<String,Object>, Dictionary<String,Object>)

Create a workflow job by providing the xaml representing the workflow.

public:
 Microsoft::PowerShell::Workflow::PSWorkflowJob ^ CreateJob(Guid jobInstanceId, System::String ^ workflowXaml, System::String ^ command, System::String ^ name, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ parameters, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ creationContext);
public Microsoft.PowerShell.Workflow.PSWorkflowJob CreateJob (Guid jobInstanceId, string workflowXaml, string command, string name, System.Collections.Generic.Dictionary<string,object> parameters, System.Collections.Generic.Dictionary<string,object> creationContext);
member this.CreateJob : Guid * string * string * string * System.Collections.Generic.Dictionary<string, obj> * System.Collections.Generic.Dictionary<string, obj> -> Microsoft.PowerShell.Workflow.PSWorkflowJob
Public Function CreateJob (jobInstanceId As Guid, workflowXaml As String, command As String, name As String, parameters As Dictionary(Of String, Object), creationContext As Dictionary(Of String, Object)) As PSWorkflowJob

Parameters

jobInstanceId
Guid
workflowXaml
String
command
String
name
String
parameters
Dictionary<String,Object>
creationContext
Dictionary<String,Object>

Returns

Applies to