Share via


IBackgroundWorkIndicator.AddScope(String) Method

Definition

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.

Applies to