ErrorHandler.IsRejectedRpcCall(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if the parameter is a failure HRESULT indicating a failed RPC call that may succeed if retried at a later time.
public:
static bool IsRejectedRpcCall(int hr);
public:
static bool IsRejectedRpcCall(int hr);
static bool IsRejectedRpcCall(int hr);
public static bool IsRejectedRpcCall (int hr);
static member IsRejectedRpcCall : int -> bool
Public Shared Function IsRejectedRpcCall (hr As Integer) As Boolean
Parameters
- hr
- Int32
The HRESULT to test.
Returns
True if the HRESULT indicate the RPC call was rejected and should be retried later.