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

实现

适用于