EventDeliveryFailedException 构造函数

定义

初始化 EventDeliveryFailedException 类的新实例。

重载

EventDeliveryFailedException()

初始化 EventDeliveryFailedException 类的新实例。

EventDeliveryFailedException(String)

使用解释异常原因的错误消息初始化 EventDeliveryFailedException 类的新实例。

EventDeliveryFailedException(String, Exception)

使用解释异常原因的错误消息和导致此异常的 EventDeliveryFailedException 初始化 Exception 类的新实例。

EventDeliveryFailedException()

初始化 EventDeliveryFailedException 类的新实例。

C#
public EventDeliveryFailedException ();

适用于

.NET Framework 4.8 和其他版本
产品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

EventDeliveryFailedException(String)

使用解释异常原因的错误消息初始化 EventDeliveryFailedException 类的新实例。

C#
public EventDeliveryFailedException (string message);

参数

message
String

解释异常原因的错误消息。

适用于

.NET Framework 4.8 和其他版本
产品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

EventDeliveryFailedException(String, Exception)

使用解释异常原因的错误消息和导致此异常的 EventDeliveryFailedException 初始化 Exception 类的新实例。

C#
public EventDeliveryFailedException (string message, Exception innerException);

参数

message
String

解释异常原因的错误消息。

innerException
Exception

导致此异常的 Exception

适用于

.NET Framework 4.8 和其他版本
产品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8