Delen via


MiddlewareFactory.Release(IMiddleware) Method

Definition

Releases a IMiddleware instance at the end of each request.

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

Parameters

middleware
IMiddleware

The IMiddleware instance to release.

Implements

Applies to