AbstractUIThreadOperationContext.AddScope(Boolean, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用其自己的可取消性、说明和进度跟踪器添加 UI 线程操作范围。 从 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
参数
- allowCancellation
- Boolean
- description
- String