ThrowIfCancellationWasRequested Property
Definition
- Assemblies
- Savvyio.Core.dll
ThrowIfCancellationWasRequested
Gets or sets a value indicating whether to throw an OperationCanceledException (or derived thereof) if a CancellationToken was requested cancelled.
public bool ThrowIfCancellationWasRequested { get; set; }
Property Value
- bool
trueto throw an OperationCanceledException if a CancellationToken was requested cancelled; otherwise,false.