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