SendEventBatchSucceededEventArgs.CancellationToken Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A CancellationToken to indicate that the producer is being closed or disposed and is requesting that the handler stop its activities.
public System.Threading.CancellationToken CancellationToken { get; }
member this.CancellationToken : System.Threading.CancellationToken
Public ReadOnly Property CancellationToken As CancellationToken
Property Value
Remarks
The handler processing events has responsibility for deciding whether or not to honor the cancellation request. If the application chooses not to do so, the producer will wait for the handler to complete before shutting down.