共用方式為


ExternalProjectFinishedEventArgs.Succeeded Property

Gets a value indicating whether the build succeeded.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

'Declaration
Public ReadOnly Property Succeeded As Boolean
public bool Succeeded { get; }
public:
property bool Succeeded {
    bool get ();
}
member Succeeded : bool with get
function get Succeeded () : boolean

Property Value

Type: System.Boolean
true if the build succeeded; otherwise, false.

.NET Framework Security

See Also

Reference

ExternalProjectFinishedEventArgs Class

Microsoft.Build.Framework Namespace