CommonMessagePump.AllowCancel Property
Controls if the wait dialog has an enabled cancel button.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Property AllowCancel As Boolean
Get
Set
'Utilisation
Dim instance As CommonMessagePump
Dim value As Boolean
value = instance.AllowCancel
instance.AllowCancel = value
public bool AllowCancel { get; set; }
public:
property bool AllowCancel {
bool get ();
void set (bool value);
}
member AllowCancel : bool with get, set
function get AllowCancel () : boolean
function set AllowCancel (value : boolean)
Property Value
Type: System.Boolean
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.