Export (0) Print
Expand All
ID
Top
Expand Minimize

BuildState Property

Visual Studio .NET 2003

Returns whether a build has ever been started in the current environment session, whether a build is currently in progress, or whether a build has been completed.

[Visual Basic .NET]
Public ReadOnly Property BuildState() As vsBuildState
[Visual Basic 6]
Property Get BuildState() As vsBuildState
[C++]
HRESULT __stdcall get_BuildState(
   /* [out, retval] */ vsBuildState* retVal
);
[C#]
public vsBuildState BuildState {get;}
[JScript .NET]
public function get BuildState() : vsBuildState

Return Value

Returns a vsBuildState value representing the status of the build operation.

Remarks

BuildState has vsBuildStateNotStarted so that you can detect a race condition; that is, when you start the environment to do a build and then check its build state before the build has actually begun. Checking to see if vsBuildState equals vsBuildStateNotStarted allows you to avoid this situation. It also allows you to determine whether the value of the LastBuildInfo Property is valid.

See Also

BuildDependencies Property | LastBuildInfo Property

Applies To: SolutionBuild Object

Show:
© 2014 Microsoft