Delen via


ConditionalValue<TValue>(Boolean, TValue) Constructor

Definition

Initializes a new instance of the class with the given value.

public ConditionalValue (bool hasValue, TValue value);
new Microsoft.ServiceFabric.Data.ConditionalValue<'Value> : bool * 'Value -> Microsoft.ServiceFabric.Data.ConditionalValue<'Value>
Public Sub New (hasValue As Boolean, value As TValue)

Parameters

hasValue
Boolean

Indicates whether the value is valid.

value
TValue

The value.

Applies to