IVsCommonMessagePump.SetAllowCancel(Boolean) Method
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.
Specifies whether or not a Cancel button should appear n the wait dialog.
public:
int SetAllowCancel(bool fAllowCancel);
public:
int SetAllowCancel(bool fAllowCancel);
int SetAllowCancel(bool fAllowCancel);
public int SetAllowCancel (bool fAllowCancel);
abstract member SetAllowCancel : bool -> int
Public Function SetAllowCancel (fAllowCancel As Boolean) As Integer
Parameters
- fAllowCancel
- Boolean
If true
, the Cancel button should appear, otherwise false
.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.