get_IsSuccessStatusCode()

HttpResponseMessage::get_IsSuccessStatusCode() const method

Checks if the status code indicates that the action requested by the client was received, understood, and accepted.

bool System::Net::Http::HttpResponseMessage::get_IsSuccessStatusCode() const

Return Value

True when the status code belongs to 2xx, otherwise false.

See Also