Compartir a través de


IControllerFactory.ReleaseControllerAsync(ControllerContext, Object) Método

Definición

Libera una instancia de controlador de forma asincrónica.

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

Parámetros

context
ControllerContext

ControllerContext para la acción en ejecución.

controller
Object

Controlador.

Devoluciones

Se aplica a