MiddlewareFactory.Release(IMiddleware) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在每个请求结束时释放实例 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 实例。