IControllerFactory.ReleaseControllerAsync(ControllerContext, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Releases a controller instance asynchronously.
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
Parameters
- context
- ControllerContext
ControllerContext for the executing action.
- controller
- Object
The controller.