Dela via


ErrorHandler.IsRejectedRpcCall Method

Determines whether the parameter is a failure HRESULT that indicates a failed RPC call that may succeed if retried at a later time.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function IsRejectedRpcCall ( _
    hr As Integer _
) As Boolean
public static bool IsRejectedRpcCall(
    int hr
)
public:
static bool IsRejectedRpcCall(
    int hr
)
static member IsRejectedRpcCall : 
        hr:int -> bool
public static function IsRejectedRpcCall(
    hr : int
) : boolean

Parameters

  • hr
    Type: Int32

    The HRESULT.

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

ErrorHandler Class

Microsoft.VisualStudio Namespace