ProcessErrorEventArgs.CancellationToken Property

Definition

A CancellationToken to indicate that the processor is requesting that the handler stop its activities. If this token is requesting cancellation, then the processor is attempting to shutdown.

public System.Threading.CancellationToken CancellationToken { get; }
member this.CancellationToken : System.Threading.CancellationToken
Public ReadOnly Property CancellationToken As CancellationToken

Property Value

Remarks

The handler processing the error has responsibility for deciding whether or not to honor the cancellation request. If the application chooses not to do so, the processor will wait for the handler to complete before taking further action.

Applies to