HttpWorkerRequest.GetStatusDescription(Int32) メソッド

定義

指定した HTTP ステータス コードの名前を記述する文字列を返します。

public:
 static System::String ^ GetStatusDescription(int code);
public static string GetStatusDescription (int code);
static member GetStatusDescription : int -> string
Public Shared Function GetStatusDescription (code As Integer) As String

パラメーター

code
Int32

HTTP 状態コード。

戻り値

ステータスの説明。 たとえば、GetStatusDescription(Int32) (404) は "Not Found" を返します。

適用対象