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 執行個體。