ServiceHealthBehavior.EnsureHttpStatusCode(Int32) Yöntem

Tanım

HTTP durum kodunun 200 ve 599 (dahil) aralığında olduğundan emin olmak.

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

Parametreler

code
Int32

HTTP durum kodu.

Döndürülenler

Boolean

true HTTP durum kodu 200 ile 599 arasında (dahil) içinde ise; aksi takdirde, false .

Şunlara uygulanır