IBackgroundWorkIndicator.SuppressAutoCancel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.