Language

ExpressionResult<T> Constructors

Definition

Overloads

Name Description
ExpressionResult<T>(T)

Initializes a new ExpressionResult instance with the specified value. The value is implicilty treated as non-secret.

ExpressionResult<T>(T, Boolean)

Initializes a new ExpressionResult instance with the specified values.

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

Applies to