ResponseCode.IsSuccessfulResponse(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.
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.