共用方式為


ToolTask.HasLoggedErrors Property

Whether this ToolTask has logged any errors

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.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Protected Overridable ReadOnly Property HasLoggedErrors As Boolean
protected virtual bool HasLoggedErrors { get; }
protected:
virtual property bool HasLoggedErrors {
    bool get ();
}
abstract HasLoggedErrors : bool with get 
override HasLoggedErrors : bool with get
function get HasLoggedErrors () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ToolTask Class

Microsoft.Build.Utilities Namespace