Share via


IBackgroundWorkIndicatorService Interface

Definition

Factory for creating lightweight IBackgroundWorkIndicators that can sit in the editor in a unobtrusive fashion unlike the Threaded-Wait-Dialog. Features can use this to indicate to users that work is happening in the background while not blocking the user from continuing to work with their code.

public interface IBackgroundWorkIndicatorService
type IBackgroundWorkIndicatorService = interface
Public Interface IBackgroundWorkIndicatorService

Remarks

This is a MEF Component, and should be imported as follows:

[Import]
IBackgroundWorkIndicatorService backgroundWorkIndicatorService = null;

Methods

Create(ITextView, SnapshotSpan, String, BackgroundWorkIndicatorOptions)

Creates a new background work indicator at the requested location to notify the user that background work is happening. The work is always cancellable by the user hitting the 'escape' key.

Applies to