Compartir a través de


InternalLoggerException Class

This exception is used to wrap an unhandled exception from a logger.

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.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Build.BuildEngine.InternalLoggerException

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class InternalLoggerException _
    Inherits Exception
[SerializableAttribute]
public sealed class InternalLoggerException : Exception
[SerializableAttribute]
public ref class InternalLoggerException sealed : public Exception
[<Sealed>]
[<SerializableAttribute>]
type InternalLoggerException =  
    class 
        inherit Exception 
    end
public final class InternalLoggerException extends Exception

The InternalLoggerException type exposes the following members.

Constructors

  Name Description
Public method InternalLoggerException() Initializes a new instance of the InternalLoggerException class.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.
Public method InternalLoggerException(String) Initializes a new instance of the InternalLoggerException class using the specified values.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.
Public method InternalLoggerException(String, Exception) Initializes a new instance of the InternalLoggerException class using the specified values.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.

Top

Properties

  Name Description
Public property BuildEventArgs Gets the details of the build event, if any, that was being logged.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.
Public property Data (Inherited from Exception.)
Public property ErrorCode Gets the error code associated with this exception's message.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.
Public property HelpKeyword Gets the F1-help keyword associated with this error.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.
Public property HelpLink (Inherited from Exception.)
Public property InitializationException Gets whether an exception occurred during logger initialization.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.
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Sets the SerializationInfo with information about the exception.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. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Public method ToString (Inherited from Exception.)

Top

Remarks

This exception can only be thrown by the MSBuild engine.

This exception stops the build.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.BuildEngine Namespace