Class SubscribeAsyncOptions
- Namespace
- Savvyio.Messaging
- Assembly
- Savvyio.Core.dll
Configuration options that is related to implementations of the ISubscriber<TRequest> interface.
public class SubscribeAsyncOptions : AsyncOptions, IAsyncOptions, IParameterObject
- Inheritance
-
ObjectSubscribeAsyncOptions
- Implements
- Inherited Members
Constructors
SubscribeAsyncOptions()
Initializes a new instance of the SubscribeAsyncOptions class.
public SubscribeAsyncOptions()
Remarks
The following table shows the initial property values for an instance of SubscribeAsyncOptions.
Property | Initial Value |
---|---|
ThrowIfCancellationWasRequested | false |
Properties
ThrowIfCancellationWasRequested
Gets or sets a value indicating whether to throw an System.OperationCanceledException (or derived thereof) if a System.Threading.CancellationToken was requested cancelled.
public bool ThrowIfCancellationWasRequested { get; set; }
Property Value
- Boolean
true
to throw an System.OperationCanceledException if a System.Threading.CancellationToken was requested cancelled; otherwise,false
.