ConditionalValue<TValue>(Boolean, TValue) Constructor
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.
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.