IVsSolutionBuildManager2.QueryBuildManagerBusy Method (Int32%)
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
'Usage
Dim instance As IVsSolutionBuildManager2
Dim pfBuildManagerBusy As Integer
Dim returnValue As Integer
returnValue = instance.QueryBuildManagerBusy(pfBuildManagerBusy)
int QueryBuildManagerBusy(
out int pfBuildManagerBusy
)
int QueryBuildManagerBusy(
[OutAttribute] int% pfBuildManagerBusy
)
abstract QueryBuildManagerBusy :
pfBuildManagerBusy:int byref -> int
function QueryBuildManagerBusy(
pfBuildManagerBusy : int
) : int
Parameters
- pfBuildManagerBusy
Type: System.Int32%
[out] Pointer to a flag indicating that the build manager is busy.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSolutionBuildManager.QueryBuildManagerBusy(Int32%)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSolutionBuildManager2::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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsSolutionBuildManager2 Interface
IVsSolutionBuildManager2 Members