IBackgroundWorkIndicatorService.Create 方法

定义

在请求的位置创建新的后台工作指示器,以通知用户后台工作正在进行。 用户点击“转义”键始终可取消工作。

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

返回

适用于