AbstractUIThreadOperationContext(Boolean, String) Constructor
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.
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.