Share via


IBackgroundWorkIndicatorService.Create Method

Definition

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

Returns

Applies to