'Declaration
<NotNullAttribute()> Public Shared Function Failure( _ ByVal exception As Exception _ ) As OperationResult
'Usage
Dim exception As Exception Dim value As OperationResult value = OperationResult.Failure(exception)
[NotNull()] public static OperationResult Failure( Exception exception )
[NotNull()] public: static OperationResult^ 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).