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 状態コード。

返品

true HTTP 状態コードが 200 から 599 の範囲内にある場合は 、次の値を含みます。それ以外の場合は false

適用対象