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 상태 코드입니다.

반환

String

상태 설명입니다. 예를 들어, GetStatusDescription(Int32)(404)는 "찾을 수 없음"을 반환합니다.

적용 대상