Share via


PauseTokenSource.CancellationToken Property

Definition

An optional cancellation token to be use on our pause task

public:
 property System::Threading::CancellationToken CancellationToken { System::Threading::CancellationToken get(); void set(System::Threading::CancellationToken value); };
public System.Threading.CancellationToken CancellationToken { get; set; }
member this.CancellationToken : System.Threading.CancellationToken with get, set
Public Property CancellationToken As CancellationToken

Property Value

Remarks

Only the CancellationToken assigned at the moment of invoking the Pause() method for the first time will be used for purposes of cancelling the Pause

Applies to