MiddlewareFactory.Release(IMiddleware) 方法

定义

在每个请求结束时释放实例 IMiddleware

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)

参数

middleware
IMiddleware

要释放的 IMiddleware 实例。

实现

适用于