Compartilhar via


IVsBuildableProjectCfg.QueryStatus Method

Determines whether or not a build operation has completed successfully.

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

Syntax

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

Parameters

  • pfBuildDone
    Type: Int32%

    [out] Pointer to the flag that is set to true if the build operation was successful and false if it was unsuccessful.

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 IVsBuildableProjectCfg::QueryStatus(
   [out] BOOL *pfBuildDone
);

.NET Framework Security

See Also

Reference

IVsBuildableProjectCfg Interface

Microsoft.VisualStudio.Shell.Interop Namespace