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

要释放的控制器。

返回

适用于