ServiceHealthBehavior.EnsureHttpStatusCode(Int32) Methode

Definitie

Zorg ervoor dat de HTTP-statuscode binnen het bereik van 200 en 599 valt.

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

Parameters

code
Int32

De HTTP-statuscode.

Retouren

true als de HTTP-statuscode binnen het bereik van 200 tot 599 valt; anders, false.

Van toepassing op