共用方式為


IVsSolutionBuildManager.QueryBuildManagerBusy(Int32) Method

Definition

Determines if the build manager is busy.

public:
 int QueryBuildManagerBusy([Runtime::InteropServices::Out] int % pfBuildManagerBusy);
int QueryBuildManagerBusy([Runtime::InteropServices::Out] int & pfBuildManagerBusy);
public int QueryBuildManagerBusy (out int pfBuildManagerBusy);
abstract member QueryBuildManagerBusy : int -> int
Public Function QueryBuildManagerBusy (ByRef pfBuildManagerBusy As Integer) As Integer

Parameters

pfBuildManagerBusy
Int32

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

Returns

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.

Applies to