IVsSolutionBuildManager2.CanCancelUpdateSolutionConfiguration Method

Enables or disables the Cancel menu item.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function CanCancelUpdateSolutionConfiguration ( _
    <OutAttribute> ByRef pfCanCancel As Integer _
) As Integer
int CanCancelUpdateSolutionConfiguration(
    out int pfCanCancel
)
int CanCancelUpdateSolutionConfiguration(
    [OutAttribute] int% pfCanCancel
)
abstract CanCancelUpdateSolutionConfiguration : 
        pfCanCancel:int byref -> int 
function CanCancelUpdateSolutionConfiguration(
    pfCanCancel : int
) : int

Parameters

  • pfCanCancel
    Type: System.Int32%
    [out] Pointer to a flag indicating whether or nor the update can be cancelled.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsSolutionBuildManager.CanCancelUpdateSolutionConfiguration(Int32%)

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionBuildManager2::CanCancelUpdateSolutionConfiguration(
   [out] BOOL *pfCanCancel
);

.NET Framework Security

See Also

Reference

IVsSolutionBuildManager2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace