Get()

HttpStatusDescription::Get(HttpStatusCode) method

Returns a string description of the specified HTTP status code.

static String System::Net::HttpStatusDescription::Get(HttpStatusCode code)

Arguments

ParameterTypeDescription
codeHttpStatusCodeThe status code.

Return Value

A string description of the specified HTTP status code.

HttpStatusDescription::Get(int32_t) method

Returns a string description of the specified HTTP status code.

static String System::Net::HttpStatusDescription::Get(int32_t code)

Arguments

ParameterTypeDescription
codeint32_tThe status code.

Return Value

A string description of the specified HTTP status code.

See Also