JobExecutionContext Class
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.
public sealed class JobExecutionContext : Microsoft.TeamFoundation.DistributedTask.Pipelines.Runtime.PipelineExecutionContext
type JobExecutionContext = class
inherit PipelineExecutionContext
Public NotInheritable Class JobExecutionContext
Inherits PipelineExecutionContext
- Inheritance
Constructors
Properties
| Name | Description |
|---|---|
| CounterStore |
Gets the counter store for the current context (Inherited from PipelineContextBase) |
| EnvironmentVersion |
Gets or sets the version of the environment (Inherited from PipelineContextBase) |
| ExecutionOptions |
Gets the execution options used for the pipeline. (Inherited from PipelineExecutionContext) |
| ExpressionOptions |
Gets the expression evaluation options for this context. (Inherited from PipelineContextBase) |
| IdGenerator |
Gets the ID generator for this context. (Inherited from PipelineExecutionContext) |
| Job | |
| Phase | |
| ReferencedResources |
Gets the resources referenced within this context. (Inherited from PipelineContextBase) |
| ResourceStore |
Gets the resource store for the current context (Inherited from PipelineContextBase) |
| SecretMasker |
Gets the secret masker for the current context (Inherited from PipelineContextBase) |
| SecretsAccessed |
Gets a value indicating if secret variables have been accessed (Inherited from PipelineContextBase) |
| Stage | |
| State |
Gets the current state of the pipeline. (Inherited from PipelineExecutionContext) |
| StepProviders |
Gets the step providers for the current context (Inherited from PipelineContextBase) |
| SystemVariableNames |
Gets the system variable names for the current context (Inherited from PipelineContextBase) |
| TaskStore |
Gets the task store for the current context (Inherited from PipelineContextBase) |
| Trace |
Gets the trace for the current context (Inherited from PipelineContextBase) |
| Variables |
Gets the variables configured on the context (Inherited from PipelineContextBase) |
Methods
| Name | Description |
|---|---|
| CreateSecretMasker() | (Inherited from PipelineContextBase) |
| Evaluate(JObject) |
Expand all variables and macros present as values (not keys) in a given JObject. Conditionally record unresolved expressions or macros as errors. (Inherited from PipelineContextBase) |
| Evaluate<T>(String) |
Evalutes the provided expression using the current context. (Inherited from PipelineContextBase) |
| ExpandVariables(JToken) |
Expand macros of the format $(variableName) using the current context. (Inherited from PipelineContextBase) |
| ExpandVariables(String, Boolean) |
Expand macros of the format $(variableName) using the current context. (Inherited from PipelineContextBase) |
| GetSupportedFunctions() | (Inherited from PipelineContextBase) |
| GetSupportedNamedValues() | (Inherited from PipelineContextBase) |
| ResetSecretsAccessed() | (Inherited from PipelineContextBase) |