Partager via


IVsSolutionBuildManager.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: Int32%

    [out] Pointer to a flag indicating whether or nor the update can be cancelled.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsSolutionBuildManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace