Share via


TaskForm.CanCancel Property

Definition

When overridden in a derived class, gets a value indicating whether the operation can be canceled.

protected:
 virtual property bool CanCancel { bool get(); };
protected virtual bool CanCancel { get; }
member this.CanCancel : bool
Protected Overridable ReadOnly Property CanCancel As Boolean

Property Value

true if the operation can be canceled; otherwise, false.

Remarks

The default implementation returns true if there is no background job running.

Applies to