共用方式為


ServiceBasedControllerActivator.Release(ControllerContext, Object) 方法

定義

釋放控制器。

public:
 virtual void Release(Microsoft::AspNetCore::Mvc::ControllerContext ^ context, System::Object ^ controller);
public virtual void Release (Microsoft.AspNetCore.Mvc.ControllerContext context, object controller);
abstract member Release : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> unit
override this.Release : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> unit
Public Overridable Sub Release (context As ControllerContext, controller As Object)

參數

context
ControllerContext

執行 ControllerContext 動作的 。

controller
Object

要釋放的控制器。

實作

適用於