IBackgroundWorkIndicator.AddScope(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
允許更新此 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 可在此範圍的工作完成時處置。
備註
這個方法可以從任何線程叫用。