IBackgroundWorkIndicator.AddScope(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows updating the text of this IBackgroundWorkIndicator and reporting progress.
public Microsoft.VisualStudio.Utilities.BackgroundWorkOperationScope AddScope (string description);
abstract member AddScope : string -> Microsoft.VisualStudio.Utilities.BackgroundWorkOperationScope
Public Function AddScope (description As String) As BackgroundWorkOperationScope
Parameters
- description
- String
Returns
An BackgroundWorkOperationScope that can be disposed when this scope's work is complete.
Remarks
This method can be invoked from any thread.