Partager via


ErrorHandler.IsRejectedRpcCall(Int32) Method

Definition

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.

Applies to