ExpressionResult<T> Constructors
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 |
|---|---|
| ExpressionResult<T>(T) |
Initializes a new |
| ExpressionResult<T>(T, Boolean) |
Initializes a new |
ExpressionResult<T>(T)
Initializes a new ExpressionResult instance with the specified value. The value is implicilty treated as
non-secret.
public ExpressionResult(T value);
new Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionResult<'T> : 'T -> Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionResult<'T>
Public Sub New (value As T)
Parameters
- value
- T
The resolved value
Applies to
ExpressionResult<T>(T, Boolean)
Initializes a new ExpressionResult instance with the specified values.
public ExpressionResult(T value, bool containsSecrets);
new Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionResult<'T> : 'T * bool -> Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionResult<'T>
Public Sub New (value As T, containsSecrets As Boolean)
Parameters
- value
- T
The resolved value
- containsSecrets
- Boolean
True if secrets were accessed while resolving the value; otherwise, false