CommonMessagePump.AllowCancel Property
Determines whether the wait dialog has an enabled cancel button.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Property AllowCancel As Boolean
public bool AllowCancel { get; set; }
Property Value
Type: System.Boolean
true if the wait dialog has an enabled cancel button, otherwise false.
Remarks
This may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.