CommonMessagePump::AllowCancel Property

 

Determines whether the wait dialog has an enabled cancel button.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
property bool AllowCancel {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the wait dialog has an enabled cancel button, otherwise false.

This may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.

Return to top
Show: