TaskForm.CanCancel 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.
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.