Dela via


IMiddlewareFactory.Release(IMiddleware) Method

Definition

Releases a IMiddleware instance at the end of each request.

public:
 void Release(Microsoft::AspNetCore::Http::IMiddleware ^ middleware);
public void Release (Microsoft.AspNetCore.Http.IMiddleware middleware);
abstract member Release : Microsoft.AspNetCore.Http.IMiddleware -> unit
Public Sub Release (middleware As IMiddleware)

Parameters

middleware
IMiddleware

The IMiddleware instance to release.

Applies to