'Declaration
<NotNullAttribute()> Public Overloads Shared Function FromFailed( _ ByVal failedOperationResult As OperationResult _ ) As ValueResult
'Usage
Dim failedOperationResult As OperationResult Dim value As ValueResult value = ValueResult.FromFailed(failedOperationResult)
[NotNull()] public static ValueResult FromFailed( OperationResult failedOperationResult )
[NotNull()] public: static ValueResult^ FromFailed( OperationResult^ failedOperationResult )
Parameters
- failedOperationResult
- The failed operation result.
Return Value
A value result with the same state and exception as the operation result passed in.