共用方式為


SessionStateUtility.IsSessionStateReadOnly(HttpContext) 方法

定義

取得值,這個值指出指定 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

參數

context
HttpContext

指定要檢查的 HttpContext

傳回

如果工作階段狀態為唯讀,則為 true;否則為 false

適用於