Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
Private Function SetAllowCancel ( _
allowCancel As Boolean _
) As Integer Implements IVsCommonMessagePump.SetAllowCancel
'Usage
Dim instance As CommonMessagePump
Dim allowCancel As Boolean
Dim returnValue As Integer
returnValue = CType(instance, IVsCommonMessagePump).SetAllowCancel(allowCancel)
int IVsCommonMessagePump.SetAllowCancel(
bool allowCancel
)
private:
virtual int SetAllowCancel(
bool allowCancel
) sealed = IVsCommonMessagePump::SetAllowCancel
private abstract SetAllowCancel :
allowCancel:bool -> int
private override SetAllowCancel :
allowCancel:bool -> int
JScript does not support explicit interface implementations.
Parameters
- allowCancel
Type: System.Boolean
Return Value
Type: System.Int32
Implements
IVsCommonMessagePump.SetAllowCancel(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.