'Declaration
<NotNullAttribute()> Public Overloads Shared Shadows Function Failure( _ ByVal exception As Exception _ ) As ValueResult
'Usage
Dim exception As Exception Dim value As ValueResult value = ValueResult.Failure(exception)
[NotNull()] public new static ValueResult Failure( Exception exception )
[NotNull()] public: new static ValueResult^ Failure( Exception^ exception )
Parameters
- exception
- Information about the reason of the failure of the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).