IControllerActivator.ReleaseAsync(ControllerContext, Object) Method

Definition

Releases a controller asynchronously.

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

Parameters

context
ControllerContext

The ControllerContext for the executing action.

controller
Object

The controller to release.

Returns

Applies to