Partilhar via


InternalLoggerException Constructors

Definition

Creates an instance of this exception using the specified error message.

Overloads

InternalLoggerException()

Default constructor.

InternalLoggerException(String)

Creates an instance of this exception using the specified error message.

InternalLoggerException(String, Exception)

Creates an instance of this exception using the specified error message and inner exception.

InternalLoggerException()

Source:
InternalLoggerException.cs

Default constructor.

public:
 InternalLoggerException();
public InternalLoggerException ();
Public Sub New ()

Exceptions

Remarks

This constructor only exists to satisfy .NET coding guidelines. Use the rich constructor instead.

Applies to

InternalLoggerException(String)

Source:
InternalLoggerException.cs

Creates an instance of this exception using the specified error message.

public:
 InternalLoggerException(System::String ^ message);
public InternalLoggerException (string message);
new Microsoft.Build.Exceptions.InternalLoggerException : string -> Microsoft.Build.Exceptions.InternalLoggerException
Public Sub New (message As String)

Parameters

message
String

Exceptions

Remarks

This constructor only exists to satisfy .NET coding guidelines. Use the rich constructor instead.

Applies to

InternalLoggerException(String, Exception)

Source:
InternalLoggerException.cs

Creates an instance of this exception using the specified error message and inner exception.

public:
 InternalLoggerException(System::String ^ message, Exception ^ innerException);
public InternalLoggerException (string message, Exception innerException);
new Microsoft.Build.Exceptions.InternalLoggerException : string * Exception -> Microsoft.Build.Exceptions.InternalLoggerException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String
innerException
Exception

Exceptions

Remarks

This constructor only exists to satisfy .NET coding guidelines. Use the rich constructor instead.

Applies to