ReasonPhrases.GetReasonPhrase(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.
Gets the reason phrase for the specified status code.
public:
static System::String ^ GetReasonPhrase(int statusCode);
public static string GetReasonPhrase (int statusCode);
static member GetReasonPhrase : int -> string
Public Shared Function GetReasonPhrase (statusCode As Integer) As String
Parameters
- statusCode
- Int32
The status code.
Returns
The reason phrase, or Empty if the status code is unknown.