set_StatusCode()

HttpResponseMessage::set_StatusCode(HttpStatusCode) method

Sets the HTTP status code.

void System::Net::Http::HttpResponseMessage::set_StatusCode(HttpStatusCode value)

Arguments

ParameterTypeDescription
valueHttpStatusCodeThe value that will be set.

See Also