共用方式為


IBackgroundWorkIndicator.SuppressAutoCancel 方法

定義

可讓用戶端在想要套用編輯或巡覽時暫時隱藏自動取消行為,而不取消 IBackgroundWorkIndicator

public IDisposable SuppressAutoCancel ();
abstract member SuppressAutoCancel : unit -> IDisposable
Public Function SuppressAutoCancel () As IDisposable

傳回

IDisposable ,可還原自動取消行為。

備註

這個方法必須從UI線程呼叫。

適用於