共用方式為


IBackgroundWorkIndicatorService.Create 方法

定義

在要求的位置建立新的背景工作指標,以通知使用者背景工作正在發生。 使用者按下 『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

參數

textView
ITextView
applicableToSpan
SnapshotSpan
description
String

傳回

適用於