IAutofacActionFilterOnActionExecutingAsync Method |
Occurs before the action method is invoked.
Namespace:
Autofac.Integration.WebApi
Assembly:
Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 6.0.0+03bf347ff3a78c2557675254b1a417eef4b464ec
Syntax Task OnActionExecutingAsync(
HttpActionContext actionContext,
CancellationToken cancellationToken
)
Function OnActionExecutingAsync (
actionContext As HttpActionContext,
cancellationToken As CancellationToken
) As Task
Parameters
- actionContext
- Type: HttpActionContext
The context for the action. - cancellationToken
- Type: System.ThreadingCancellationToken
A cancellation token for signaling task ending.
Return Value
Type:
Task[Missing <returns> documentation for "M:Autofac.Integration.WebApi.IAutofacActionFilter.OnActionExecutingAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)"]
See Also