IBackgroundWorkIndicatorService.Create Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un indicateur de travail en arrière-plan à l’emplacement demandé pour informer l’utilisateur que le travail en arrière-plan se produit. Le travail est toujours annulable par l’utilisateur appuyant sur la touche « échappement ».
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
Paramètres
- textView
- ITextView
- applicableToSpan
- SnapshotSpan
- description
- String
- options
- BackgroundWorkIndicatorOptions