共用方式為


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 可在此範圍的工作完成時處置。

備註

這個方法可以從任何線程叫用。

適用於