共用方式為


InvalidProjectFileException.HasBeenLogged Property

Gets a flag that determines whether the exception has already been logged. Allows the exception to be logged at the most appropriate location, but continue to be propagated.

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

Syntax

'Declaration
Public Property HasBeenLogged As Boolean
public bool HasBeenLogged { get; internal set; }
public:
property bool HasBeenLogged {
    bool get ();
    internal: void set (bool value);
}
member HasBeenLogged : bool with get, internal set
function get HasBeenLogged () : boolean 
internal function set HasBeenLogged (value : boolean)

Property Value

Type: System.Boolean
Returns a flag that determines whether the exception has already been logged.

.NET Framework Security

See Also

Reference

InvalidProjectFileException Class

Microsoft.Build.Exceptions Namespace