AbstractUIThreadOperationContext.AddScope(Boolean, String) Methode

Definition

Fügt einen UI-Thread Vorgangs Bereich mit seiner eigenen ablaufbarkeits-, Beschreibungs-und Fortschritts Protokollierung hinzu. Der Bereich wird beim verwerfen aus dem Kontext entfernt.

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

Parameter

allowCancellation
Boolean
description
String

Gibt zurück

IUIThreadOperationScope

Implementiert

Gilt für