共用方式為


DefaultControllerFactory.ReleaseController(ControllerContext, Object) 方法

定義

釋放控制器實例。

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

參數

context
ControllerContext

ControllerContext 執行動作的 。

controller
Object

控制器。

實作

適用於