Compartir a través de


IVsCommonMessagePump.SetAllowCancel(Boolean) Method

Definition

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.

Applies to