共用方式為


IControllerActivator.ReleaseAsync(ControllerContext, Object) 方法

定義

以非同步方式釋放控制器。

public virtual System.Threading.Tasks.ValueTask ReleaseAsync (Microsoft.AspNetCore.Mvc.ControllerContext context, object controller);
abstract member ReleaseAsync : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> System.Threading.Tasks.ValueTask
override this.ReleaseAsync : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> System.Threading.Tasks.ValueTask
Public Overridable Function ReleaseAsync (context As ControllerContext, controller As Object) As ValueTask

參數

context
ControllerContext

ControllerContext執行動作的 。

controller
Object

要釋放的控制器。

傳回

適用於