Condividi tramite


IBackgroundWorkIndicatorService.Create Metodo

Definizione

Crea un nuovo indicatore di lavoro in background nella posizione richiesta per notificare all'utente che si sta verificando il lavoro in background. Il lavoro è sempre annullabile dall'utente che colpisce il tasto "escape".

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

Parametri

textView
ITextView
applicableToSpan
SnapshotSpan
description
String

Restituisce

Si applica a