Bagikan melalui


IBackgroundWorkIndicatorService.Create Metode

Definisi

Membuat indikator kerja latar belakang baru di lokasi yang diminta untuk memberi tahu pengguna bahwa pekerjaan latar belakang sedang terjadi. Pekerjaan selalu dapat dibatalkan oleh pengguna yang menekan kunci '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

Parameter

textView
ITextView
applicableToSpan
SnapshotSpan
description
String

Mengembalikan

Berlaku untuk