Bewerken

Share via


AmbiguousImplementationException Constructors

Definition

Overloads

AmbiguousImplementationException()

Initializes a new instance of the AmbiguousImplementationException class.

AmbiguousImplementationException(String)

Initializes a new instance of the AmbiguousImplementationException class with a specified error message.

AmbiguousImplementationException(String, Exception)

Initializes a new instance of the AmbiguousImplementationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

AmbiguousImplementationException()

Source:
AmbiguousImplementationException.cs
Source:
AmbiguousImplementationException.cs
Source:
AmbiguousImplementationException.cs

Initializes a new instance of the AmbiguousImplementationException class.

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

Applies to

AmbiguousImplementationException(String)

Source:
AmbiguousImplementationException.cs
Source:
AmbiguousImplementationException.cs
Source:
AmbiguousImplementationException.cs

Initializes a new instance of the AmbiguousImplementationException class with a specified error message.

public:
 AmbiguousImplementationException(System::String ^ message);
public AmbiguousImplementationException (string? message);
public AmbiguousImplementationException (string message);
new System.Runtime.AmbiguousImplementationException : string -> System.Runtime.AmbiguousImplementationException
Public Sub New (message As String)

Parameters

message
String

The localized error message string.

Applies to

AmbiguousImplementationException(String, Exception)

Source:
AmbiguousImplementationException.cs
Source:
AmbiguousImplementationException.cs
Source:
AmbiguousImplementationException.cs

Initializes a new instance of the AmbiguousImplementationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 AmbiguousImplementationException(System::String ^ message, Exception ^ innerException);
public AmbiguousImplementationException (string? message, Exception? innerException);
public AmbiguousImplementationException (string message, Exception innerException);
new System.Runtime.AmbiguousImplementationException : string * Exception -> System.Runtime.AmbiguousImplementationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A string that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to