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
声明
Function SetAllowCancel ( _
    fAllowCancel As Boolean _
) As Integer
用法
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
- fAllowCancel
 Type: System.Boolean
Return Value
Type: System.Int32
.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.