Condividi tramite


IVsSolutionBuildManager.QueryBuildManagerBusy Method

Determines if the build manager is busy.

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

Syntax

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

Parameters

  • pfBuildManagerBusy
    Type: Int32%

    [out] Pointer to a flag indicating that the build manager is busy.

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

The solution build manager sets pfBuildManagerBusy to true if it is performing a task that cannot be interrupted. Otherwise, it sets pfBuildManagerBusy to false.

.NET Framework Security

See Also

Reference

IVsSolutionBuildManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace