TaskExecutionContext.IsCancelRequested Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.