SessionStateUtility.IsSessionStateReadOnly(HttpContext) SessionStateUtility.IsSessionStateReadOnly(HttpContext) SessionStateUtility.IsSessionStateReadOnly(HttpContext) SessionStateUtility.IsSessionStateReadOnly(HttpContext) Method

Définition

Récupère une valeur qui indique si l’état de la session est en lecture seule pour le HttpContext spécifié.Gets a value which indicates whether the session state is read-only for the specified HttpContext.

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

Paramètres

context
HttpContext HttpContext HttpContext HttpContext

Spécifie l’élément HttpContext à vérifier.Specifies the HttpContext to check.

Retours

true si l’état de la session est en lecture seule ; sinon, false.true if the session state is read-only; otherwise, false.

S’applique à