Sdílet prostřednictvím


AbstractUIThreadOperationContext(Boolean, String) Constructor

Definition

Creates a new instance of the AbstractUIThreadOperationContext.

public:
 AbstractUIThreadOperationContext(bool allowCancellation, System::String ^ defaultDescription);
public AbstractUIThreadOperationContext (bool allowCancellation, string defaultDescription);
new Microsoft.VisualStudio.Utilities.AbstractUIThreadOperationContext : bool * string -> Microsoft.VisualStudio.Utilities.AbstractUIThreadOperationContext
Public Sub New (allowCancellation As Boolean, defaultDescription As String)

Parameters

allowCancellation
Boolean

Initial value of the AllowCancellation property, which can change as new scopes are added to the context.

defaultDescription
String

Default value of the Description property, which can change as new scopes are added to the context.

Applies to