'Declaration
<JetBrains.Annotations.NotNullAttribute()> Public Shared Function ClosedFailure(Of T)( _ ByVal exception As Exception _ ) As ClosedValueResult(Of T)
'Usage
Dim exception As Exception Dim value As ClosedValueResult(Of T) value = ValueResult.ClosedFailure(Of T)(exception)
[JetBrains.Annotations.NotNull()] public static ClosedValueResult<T> ClosedFailure<T>( Exception exception )
[JetBrains.Annotations.NotNull()] public: static ClosedValueResult<T^>^ ClosedFailuregeneric<typename T> ( Exception^ exception )
Parameters
- exception
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Type Parameters
- T
Return Value
This method never returns null
(Nothing
in Visual Basic).