共用方式為


IHttpContextFactory.Dispose(HttpContext) 方法

定義

釋放 所 HttpContext 持有的資源。

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

參數

httpContext
HttpContext

HttpContext 處置的 。

適用於