IBackgroundWorkIndicator.AddScope(String) 方法

定义

允许更新此 IBackgroundWorkIndicator 文本并报告进度。

public Microsoft.VisualStudio.Utilities.BackgroundWorkOperationScope AddScope (string description);
abstract member AddScope : string -> Microsoft.VisualStudio.Utilities.BackgroundWorkOperationScope
Public Function AddScope (description As String) As BackgroundWorkOperationScope

参数

description
String

返回

BackgroundWorkOperationScope 此作用域的工作完成时可以释放的 。

注解

可以从任何线程调用此方法。

适用于