IUIThreadOperationContext.AddScope(Boolean, 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.
Adds a UI thread operation scope with its own two way cancellability, description and progress tracker. The scope is removed from the context on dispose.
public:
Microsoft::VisualStudio::Utilities::IUIThreadOperationScope ^ AddScope(bool allowCancellation, System::String ^ description);
public Microsoft.VisualStudio.Utilities.IUIThreadOperationScope AddScope (bool allowCancellation, string description);
abstract member AddScope : bool * string -> Microsoft.VisualStudio.Utilities.IUIThreadOperationScope
Public Function AddScope (allowCancellation As Boolean, description As String) As IUIThreadOperationScope
Parameters
- allowCancellation
- Boolean
- description
- String