System::Net::Http::HttpResponseMessage::set_StatusCode method

HttpResponseMessage::set_StatusCode method

Sets the HTTP status code.

void System::Net::Http::HttpResponseMessage::set_StatusCode(HttpStatusCode value)
ParameterTypeDescription
valueHttpStatusCodeThe value that will be set.

See Also