'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.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).