共用方式為


DefaultHttpContextFactory.Dispose(HttpContext) 方法

定義

清除目前的 HttpContext

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

實作

適用於