共用方式為


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

實作

適用於