SessionStateUtility.IsSessionStateRequired(HttpContext) SessionStateUtility.IsSessionStateRequired(HttpContext) SessionStateUtility.IsSessionStateRequired(HttpContext) SessionStateUtility.IsSessionStateRequired(HttpContext) Method

Definition

Ruft einen Wert ab, der angibt, ob der Sitzungszustand für den angegebenen HttpContext erforderlich ist.Gets a value which indicates whether the session state is required for the specified HttpContext.

public:
 static bool IsSessionStateRequired(System::Web::HttpContext ^ context);
public static bool IsSessionStateRequired (System.Web.HttpContext context);
static member IsSessionStateRequired : System.Web.HttpContext -> bool
Public Shared Function IsSessionStateRequired (context As HttpContext) As Boolean

Parameter

context
HttpContext HttpContext HttpContext HttpContext

Gibt den zu überprüfenden HttpContext an.Specifies the HttpContext to check.

Gibt zurück

true, wenn der Sitzungszustand erforderlich ist, andernfalls false.true if the session state is required; otherwise, false.

Gilt für: