TaskExecutionContext.IsCancelRequested Property

Definition

Gets a value that indicates whether there is a request to cancel the task.

public:
 property bool IsCancelRequested { bool get(); };
public bool IsCancelRequested { get; }
member this.IsCancelRequested : bool
Public ReadOnly Property IsCancelRequested As Boolean

Property Value

true if there is a request to cancel the task; otherwise, false.

Implements

Applies to