語言

DispatcherOperation.Abort 方法

定義

中止手術。

public:
 bool Abort();
public bool Abort();
member this.Abort : unit -> bool
Public Function Abort () As Boolean

傳回

true若行動中止;否則,。 false

備註

若操作已進行中,此方法將返回 false。

當操作中止時, Status 的 DispatcherOperation 會被設定為 , Aborted 事件 Aborted 會被觸發。

適用於

另請參閱