Interface IActionFilter
Defines the methods that are used in an action filter.
public interface IActionFilter : IFilter
- Inherited Members
Methods
ExecuteActionFilterAsync(HttpActionContext, CancellationToken, Func<Task<HttpResponseMessage>>)
Executes the filter action asynchronously.
Task<HttpResponseMessage> ExecuteActionFilterAsync(HttpActionContext actionContext, CancellationToken cancellationToken, Func<Task<HttpResponseMessage>> continuation)
Parameters
actionContext
HttpActionContextThe action context.
cancellationToken
CancellationTokenThe cancellation token assigned for this task.
continuation
Func<Task<HttpResponseMessage>>The delegate function to continue after the action method is invoked.
Returns
- Task<HttpResponseMessage>
The newly created task for this operation.