HttpWorkerRequest.GetStatusDescription(Int32) Metódus

Definíció

A megadott HTTP-állapotkód nevét leíró sztringet ad vissza.

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

Paraméterek

code
Int32

A HTTP-állapotkód.

Válaszok

Az állapot leírása. A (404) függvény például GetStatusDescription(Int32) a "Nem található" értéket adja vissza.

A következőre érvényes: