편집

다음을 통해 공유


PoisonMessageException Constructors

Definition

Initializes a new instance of the PoisonMessageException class.

Overloads

PoisonMessageException()

Initializes a new instance of the PoisonMessageException class.

PoisonMessageException(String)

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

PoisonMessageException(SerializationInfo, StreamingContext)

Initializes a new instance of the PoisonMessageException class with serialized data.

PoisonMessageException(String, Exception)

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

PoisonMessageException()

Initializes a new instance of the PoisonMessageException class.

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

Applies to

PoisonMessageException(String)

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

public:
 PoisonMessageException(System::String ^ message);
public PoisonMessageException (string message);
new System.ServiceModel.PoisonMessageException : string -> System.ServiceModel.PoisonMessageException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

PoisonMessageException(SerializationInfo, StreamingContext)

Initializes a new instance of the PoisonMessageException class with serialized data.

protected:
 PoisonMessageException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PoisonMessageException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.PoisonMessageException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.PoisonMessageException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

PoisonMessageException(String, Exception)

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

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

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to