TaskCancelableEventArgs.Cancelable 屬性

定義

會得到一個值,表示你是否可以取消事件的預設動作。

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

屬性值

True如果你可以取消事件的預設動作;否則,。 false

適用於