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: Int32The HRESULT.
Return Value
Type: Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.