Partager via


IVsCommonMessagePump.SetAllowCancel Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Déclaration
Function SetAllowCancel ( _
    fAllowCancel As Boolean _
) As Integer
'Utilisation
Dim instance As IVsCommonMessagePump
Dim fAllowCancel As Boolean
Dim returnValue As Integer

returnValue = instance.SetAllowCancel(fAllowCancel)
int SetAllowCancel(
    bool fAllowCancel
)
int SetAllowCancel(
    [InAttribute] bool fAllowCancel
)
abstract SetAllowCancel : 
        fAllowCancel:bool -> int 
function SetAllowCancel(
    fAllowCancel : boolean
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsCommonMessagePump Interface

IVsCommonMessagePump Members

Microsoft.VisualStudio.Shell.Interop Namespace