Freigeben über


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
'Usage
Dim instance As IVsSolutionBuildManager
Dim pfCanCancel As Integer
Dim returnValue As Integer

returnValue = instance.CanCancelUpdateSolutionConfiguration(pfCanCancel)
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.

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsSolutionBuildManager Interface

IVsSolutionBuildManager Members

Microsoft.VisualStudio.Shell.Interop Namespace