TaskCancelableEventArgs.Cancelable Property

Definition

获取一个值,该值指示您是否可以取消某一事件的默认操作。Gets a value that indicates whether you can cancel an event’s default action.

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

Property Value

Boolean

如果可以取消某一事件的默认操作,则为 True;否则为 falseTrue if the you can cancel an event’s default action; otherwise, false.

Applies to