Share via


JsonRpc.CancellationStrategy Property

Definition

Gets or sets the cancellation strategy to use.

public StreamJsonRpc.ICancellationStrategy? CancellationStrategy { get; set; }
member this.CancellationStrategy : StreamJsonRpc.ICancellationStrategy with get, set
Public Property CancellationStrategy As ICancellationStrategy

Property Value

The default value is the StreamJsonRpc.StandardCancellationStrategy which uses the "$/cancelRequest" notification.

Applies to