Edit

Share via


ResponseCode.IsSuccessfulResponse(Int32) Method

Definition

Returns true if the response is in the range of successful responses; otherwise false. A return value of false does not necessarily mean it is a failure response.

public:
 static bool IsSuccessfulResponse(int responseCode);
public static bool IsSuccessfulResponse (int responseCode);
static member IsSuccessfulResponse : int -> bool
Public Shared Function IsSuccessfulResponse (responseCode As Integer) As Boolean

Parameters

responseCode
Int32

The response code to check.

Returns

Returns true when the response is in the range of successful responses; otherwise false.

Applies to