HttpContextFactory.Dispose(HttpContext) 方法

定义

对于垃圾回收,将 HTTP 上下文对象设置为 null。

public:
 virtual void Dispose(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public void Dispose (Microsoft.AspNetCore.Http.HttpContext httpContext);
abstract member Dispose : Microsoft.AspNetCore.Http.HttpContext -> unit
override this.Dispose : Microsoft.AspNetCore.Http.HttpContext -> unit
Public Sub Dispose (httpContext As HttpContext)

参数

httpContext
HttpContext

要释放的 HTTP 上下文。

实现

适用于