Phase.CreateJob(PipelineExecutionContext, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates the specified job using the provided execution context and name.
public Microsoft.TeamFoundation.DistributedTask.Pipelines.Job CreateJob(Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineExecutionContext context, string name);
member this.CreateJob : Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineExecutionContext * string -> Microsoft.TeamFoundation.DistributedTask.Pipelines.Job
Public Function CreateJob (context As PipelineExecutionContext, name As String) As Job
Parameters
- context
- PipelineExecutionContext
The execution context
- name
- String
The name of the job which should be created
Returns
A job instance if the specified name exists; otherwise, null