ExpressionValue<T>.GetValue 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 |
|---|---|
| GetValue(IPipelineContext) |
Retrieves the referenced value from the provided execution context. |
| GetValue(PipelineExecutionContext) |
Retrieves the referenced value from the provided execution context. |
GetValue(IPipelineContext)
Retrieves the referenced value from the provided execution context.
public Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionResult<T> GetValue(Microsoft.TeamFoundation.DistributedTask.Pipelines.IPipelineContext context = null);
member this.GetValue : Microsoft.TeamFoundation.DistributedTask.Pipelines.IPipelineContext -> Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionResult<'T>
Public Function GetValue (Optional context As IPipelineContext = null) As ExpressionResult(Of T)
Parameters
- context
- IPipelineContext
The execution context used for variable resolution
Returns
The value of the variable if found; otherwise, null
Applies to
GetValue(PipelineExecutionContext)
Retrieves the referenced value from the provided execution context.
public Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionResult<T> GetValue(Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineExecutionContext context);
member this.GetValue : Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineExecutionContext -> Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionResult<'T>
Public Function GetValue (context As PipelineExecutionContext) As ExpressionResult(Of T)
Parameters
- context
- PipelineExecutionContext
The execution context used for variable resolution
Returns
The value of the variable if found; otherwise, null