Share via


IBackgroundWorkIndicator.SuppressAutoCancel Method

Definition

Allows clients to temporarily suppress auto cancel behaviors when they want to apply edits or navigate without canceling the IBackgroundWorkIndicator.

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

Returns

IDisposable that restores auto cancel behaviors.

Remarks

This method must be called from the UI thread.

Applies to