다음을 통해 공유


ServiceHealthBehavior.EnsureHttpStatusCode(Int32) 메서드

정의

HTTP 상태 코드가 200~599(포함)의 범위 내에 있는지 확인합니다.

protected:
 static bool EnsureHttpStatusCode(int code);
protected static bool EnsureHttpStatusCode (int code);
static member EnsureHttpStatusCode : int -> bool
Protected Shared Function EnsureHttpStatusCode (code As Integer) As Boolean

매개 변수

code
Int32

HTTP 상태 코드입니다.

반환

Boolean

HTTP 상태 코드가 200~599(포함)의 범위 내에 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상