HttpContextFactory.Dispose(HttpContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.