Bagikan melalui


IVsSolutionBuildManager.UpdateSolutionConfigurationIsActive Method

Checks for any build, clean, or deploy action in progress.

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

Syntax

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

Parameters

  • pfIsActive
    Type: System.Int32%
    [out] Pointer to a flag indicating whether an action is active.

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::UpdateSolutionConfigurationIsActive(
   [out] BOOL *pfIsActive
);

The build manager sets pfIsActive to true if any deploy, build or clean action is in progress. Otherwise, it sets pfIsActive to false.

.NET Framework Security

See Also

Reference

IVsSolutionBuildManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace