共用方式為


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 內容。

實作

適用於