Table of Contents

ThrowIfCancellationWasRequested Property

Definition

Namespace
Savvyio.Messaging
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/Messaging/SubscribeAsyncOptions.cs

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

true to throw an OperationCanceledException if a CancellationToken was requested cancelled; otherwise, false.