Phase.Expand 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.
Overloads
| Name | Description |
|---|---|
| Expand(PipelineExecutionContext) |
Expands the template using the provided execution context and returns the list of jobs. |
| Expand(PhaseExecutionContext, JobExpansionOptions) |
Expands the template using the provided execution context and returns the list of jobs. |
Expand(PipelineExecutionContext)
Expands the template using the provided execution context and returns the list of jobs.
public Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpandPhaseResult Expand(Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineExecutionContext context);
member this.Expand : Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineExecutionContext -> Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpandPhaseResult
Public Function Expand (context As PipelineExecutionContext) As ExpandPhaseResult
Parameters
- context
- PipelineExecutionContext
The execution context
Returns
A list of jobs which should be executed for this phase
Applies to
Expand(PhaseExecutionContext, JobExpansionOptions)
Expands the template using the provided execution context and returns the list of jobs.
public Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpandPhaseResult Expand(Microsoft.TeamFoundation.DistributedTask.Pipelines.Runtime.PhaseExecutionContext context, Microsoft.TeamFoundation.DistributedTask.Pipelines.JobExpansionOptions options = null);
member this.Expand : Microsoft.TeamFoundation.DistributedTask.Pipelines.Runtime.PhaseExecutionContext * Microsoft.TeamFoundation.DistributedTask.Pipelines.JobExpansionOptions -> Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpandPhaseResult
Public Function Expand (context As PhaseExecutionContext, Optional options As JobExpansionOptions = null) As ExpandPhaseResult
Parameters
- context
- PhaseExecutionContext
The execution context
- options
- JobExpansionOptions
The expansion options to use
Returns
A list of jobs which should be executed for this phase