AmbiguousImplementationException 构造函数

定义

重载

AmbiguousImplementationException()

初始化 AmbiguousImplementationException 类的新实例。

AmbiguousImplementationException(String)

用指定的错误消息初始化 AmbiguousImplementationException 类的新实例。

AmbiguousImplementationException(String, Exception)

使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 AmbiguousImplementationException 类的新实例。

AmbiguousImplementationException()

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

初始化 AmbiguousImplementationException 类的新实例。

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

适用于

AmbiguousImplementationException(String)

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

用指定的错误消息初始化 AmbiguousImplementationException 类的新实例。

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)

参数

message
String

本地化的错误消息字符串。

适用于

AmbiguousImplementationException(String, Exception)

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

使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 AmbiguousImplementationException 类的新实例。

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)

参数

message
String

描述错误的字符串。

innerException
Exception

导致当前异常的异常。

适用于