Dela via


HttpContextFactory.Dispose(HttpContext) Method

Definition

Sets the HTTP context object to null for garbage collection.

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)

Parameters

httpContext
HttpContext

HTTP context to dispose.

Implements

Applies to