Expand CancellationToken notes (#20658)
* Expand CancellationToken notes * Update aspnetcore/mvc/models/model-binding.md Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>pull/20680/head
parent
e02331c85c
commit
8b8cd9f050
|
@ -472,7 +472,7 @@ An uploaded file included in the HTTP request. Also supported is `IEnumerable<I
|
||||||
|
|
||||||
### CancellationToken
|
### CancellationToken
|
||||||
|
|
||||||
Used to cancel activity in asynchronous controllers.
|
Actions can optionally bind a `CancellationToken` as a parameter. This binds <xref:Microsoft.AspNetCore.Http.HttpContext.RequestAborted> that signals when the connection underlying the HTTP request is aborted. Actions can use this parameter to cancel long running async operations that are executed as part of the controller actions.
|
||||||
|
|
||||||
### FormCollection
|
### FormCollection
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue