InternalLoggerException Class
This exception is used to wrap an unhandled exception from a logger. This exception aborts the build, and it can only be thrown by the MSBuild engine.
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.Exceptions.InternalLoggerException
Namespace: Microsoft.Build.Exceptions
Assembly: Microsoft.Build (in Microsoft.Build.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 | |
---|---|---|
![]() |
InternalLoggerException() | Default constructor.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. |
![]() |
InternalLoggerException(String) | Creates an instance of this exception using the specified error 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. |
![]() |
InternalLoggerException(String, Exception) | Creates an instance of this exception using the specified error message and inner 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. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
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. |
![]() |
Data | (Inherited from Exception.) |
![]() |
ErrorCode | Gets the error code associated with this exception's message (not the inner 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. |
![]() |
HelpKeyword | Gets the F1-help keyword associated with this error, for the host IDE.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. |
![]() |
HelpLink | (Inherited from Exception.) |
![]() |
InitializationException | True if the exception occured during logger initializationMSBuild 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. |
![]() |
InnerException | (Inherited from Exception.) |
![]() |
Message | (Inherited from Exception.) |
![]() |
Source | (Inherited from Exception.) |
![]() |
StackTrace | (Inherited from Exception.) |
![]() |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetBaseException | (Inherited from Exception.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | ISerializable method which we must override since Exception implements this interface If we ever add new members to this class, we'll need to update this.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).) |
![]() |
GetType | (Inherited from Exception.) |
![]() |
ToString | (Inherited from Exception.) |
Top
Remarks
WARNING: marking a type [Serializable] without implementing ISerializable imposes a serialization contract -- it is a promise to never change the type's fields i.e. the type is immutable; adding new fields in the next version of the type without following certain special FX guidelines, can break both forward and backward compatibility
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.