'Declaration<JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Shadows Function Failure( _ ByVal exception As Exception _ ) As ValueResult
'UsageDim exception As Exception Dim value As ValueResult value = ValueResult.Failure(exception)
[JetBrains.Annotations.NotNull()] public new static ValueResult Failure( Exception exception )
[JetBrains.Annotations.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(Nothingin Visual Basic).
Return Value
This method never returns null (Nothing in Visual Basic).