InternalLoggerException Class

Definition

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

public ref class InternalLoggerException sealed : Exception
[System.Serializable]
public sealed class InternalLoggerException : Exception
[<System.Serializable>]
type InternalLoggerException = class
    inherit Exception
Public NotInheritable Class InternalLoggerException
Inherits Exception
Inheritance
InternalLoggerException
Attributes

Remarks

This exception can only be thrown by the MSBuild engine.

This exception stops the build.

Constructors

InternalLoggerException()

Initializes a new instance of the InternalLoggerException class.

InternalLoggerException(String)

Initializes a new instance of the InternalLoggerException class using the specified values.

InternalLoggerException(String, Exception)

Initializes a new instance of the InternalLoggerException class using the specified values.

Properties

BuildEventArgs

Gets the details of the build event, if any, that was being logged.

ErrorCode

Gets the error code associated with this exception's message.

HelpKeyword

Gets the F1-help keyword associated with this error.

InitializationException

Gets whether an exception occurred during logger initialization.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

Applies to