EventDeliveryFailedException Constructors

Definition

Initializes a new instance of the EventDeliveryFailedException class.

Overloads

EventDeliveryFailedException()

Initializes a new instance of the EventDeliveryFailedException class.

EventDeliveryFailedException(String)

Initializes a new instance of the EventDeliveryFailedException class by using the error message that explains the reason for the exception.

EventDeliveryFailedException(String, Exception)

Initializes a new instance of the EventDeliveryFailedException class by using the error message that explains the reason for the exception and the Exception that caused this exception.

EventDeliveryFailedException()

Initializes a new instance of the EventDeliveryFailedException class.

C#
public EventDeliveryFailedException();

Applies to

.NET Framework 4.8.1 和其他版本
产品 版本
.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, 4.8.1

EventDeliveryFailedException(String)

Initializes a new instance of the EventDeliveryFailedException class by using the error message that explains the reason for the exception.

C#
public EventDeliveryFailedException(string message);

Parameters

message
String

An error message that explains the reason for the exception.

Applies to

.NET Framework 4.8.1 和其他版本
产品 版本
.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, 4.8.1

EventDeliveryFailedException(String, Exception)

Initializes a new instance of the EventDeliveryFailedException class by using the error message that explains the reason for the exception and the Exception that caused this exception.

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

Parameters

message
String

An error message that explains the reason for the exception.

innerException
Exception

The Exception that caused this exception.

Applies to

.NET Framework 4.8.1 和其他版本
产品 版本
.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, 4.8.1