AmbiguousImplementationException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Initializes a new instance of the AmbiguousImplementationException class.
public:
AmbiguousImplementationException();
public AmbiguousImplementationException ();
Public Sub New ()
Applies to
AmbiguousImplementationException(String)
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)
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.