IMiddlewareFactory.Release(IMiddleware) 方法

定义

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

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)

参数

middleware
IMiddleware

要释放的 IMiddleware 实例。

适用于