IBackgroundWorkIndicatorService.Create 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.
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.
public Microsoft.VisualStudio.Utilities.IBackgroundWorkIndicator Create (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.SnapshotSpan applicableToSpan, string description, Microsoft.VisualStudio.Utilities.BackgroundWorkIndicatorOptions? options = default);
abstract member Create : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.SnapshotSpan * string * Microsoft.VisualStudio.Utilities.BackgroundWorkIndicatorOptions -> Microsoft.VisualStudio.Utilities.IBackgroundWorkIndicator
Public Function Create (textView As ITextView, applicableToSpan As SnapshotSpan, description As String, Optional options As BackgroundWorkIndicatorOptions = Nothing) As IBackgroundWorkIndicator
Parameters
- textView
- ITextView
- applicableToSpan
- SnapshotSpan
- description
- String
- options
- BackgroundWorkIndicatorOptions