共用方式為


SessionStateModule.ReleaseSessionStateAsync(HttpContext) 方法

定義

以非同步的方式釋放指定 HttpContext 的工作階段狀態。

public:
 virtual System::Threading::Tasks::Task ^ ReleaseSessionStateAsync(System::Web::HttpContext ^ context);
public System.Threading.Tasks.Task ReleaseSessionStateAsync (System.Web.HttpContext context);
abstract member ReleaseSessionStateAsync : System.Web.HttpContext -> System.Threading.Tasks.Task
override this.ReleaseSessionStateAsync : System.Web.HttpContext -> System.Threading.Tasks.Task
Public Function ReleaseSessionStateAsync (context As HttpContext) As Task

參數

context
HttpContext

HttpContext 釋放會話狀態的 。

傳回

非同步作業的 Task

實作

適用於