'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.
Return Value
The failed operation result.