Share via


BatchRequestBase<TOptions,TResponse>.CancellationToken Property

Definition

Gets or sets the CancellationToken associated with this IBatchRequest.

public System.Threading.CancellationToken CancellationToken { get; set; }
member this.CancellationToken : System.Threading.CancellationToken with get, set
Public Property CancellationToken As CancellationToken

Property Value

Implements

Remarks

Cancelling this token will cancel the currently ongoing request. This applies to the initial request as well as any subsequent requests created due to RetryPolicy. Cancelling this token also forbids all future retries of this IBatchRequest.

Applies to