Modifica

Condividi tramite


MsmqPoisonMessageException Constructors

Definition

Initializes a new instance of the MsmqPoisonMessageException class.

Overloads

MsmqPoisonMessageException()

Initializes a new instance of the MsmqPoisonMessageException class.

MsmqPoisonMessageException(Int64)

Initializes a new instance of the MsmqPoisonMessageException class by using the specified lookup ID of the poison message.

MsmqPoisonMessageException(String)

Initializes a new instance of the MsmqPoisonMessageException class by using the specified message text.

MsmqPoisonMessageException(Int64, Exception)

Initializes a new instance of the MsmqPoisonMessageException class by using the specified lookup ID of the poison message, and the inner exception.

MsmqPoisonMessageException(SerializationInfo, StreamingContext)

Initializes a new instance of the MsmqPoisonMessageException class with additional serialized information about the exception.

MsmqPoisonMessageException(String, Exception)

Initializes a new instance of the MsmqPoisonMessageException class by using the specified message text and the inner exception.

MsmqPoisonMessageException()

Initializes a new instance of the MsmqPoisonMessageException class.

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

Applies to

MsmqPoisonMessageException(Int64)

Initializes a new instance of the MsmqPoisonMessageException class by using the specified lookup ID of the poison message.

public:
 MsmqPoisonMessageException(long messageLookupId);
public MsmqPoisonMessageException (long messageLookupId);
new System.ServiceModel.MsmqPoisonMessageException : int64 -> System.ServiceModel.MsmqPoisonMessageException
Public Sub New (messageLookupId As Long)

Parameters

messageLookupId
Int64

The lookup ID of the poison message.

Applies to

MsmqPoisonMessageException(String)

Initializes a new instance of the MsmqPoisonMessageException class by using the specified message text.

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

Parameters

message
String

The message with which to initialize the new instance of the MsmqPoisonMessageException class.

Applies to

MsmqPoisonMessageException(Int64, Exception)

Initializes a new instance of the MsmqPoisonMessageException class by using the specified lookup ID of the poison message, and the inner exception.

public:
 MsmqPoisonMessageException(long messageLookupId, Exception ^ innerException);
public MsmqPoisonMessageException (long messageLookupId, Exception innerException);
new System.ServiceModel.MsmqPoisonMessageException : int64 * Exception -> System.ServiceModel.MsmqPoisonMessageException
Public Sub New (messageLookupId As Long, innerException As Exception)

Parameters

messageLookupId
Int64

The lookup ID of the poison message.

innerException
Exception

The inner exception to be encapsulated by the new instance of the MsmqPoisonMessageException class.

Applies to

MsmqPoisonMessageException(SerializationInfo, StreamingContext)

Initializes a new instance of the MsmqPoisonMessageException class with additional serialized information about the exception.

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

Parameters

info
SerializationInfo

A SerializationInfo instance that holds the serialized data associated with the MsmqPoisonMessageException.

context
StreamingContext

A StreamingContext instance that contains the source and destination of the serialized stream associated with the MsmqPoisonMessageException.

Applies to

MsmqPoisonMessageException(String, Exception)

Initializes a new instance of the MsmqPoisonMessageException class by using the specified message text and the inner exception.

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

Parameters

message
String

The message with which to initialize the new instance of the MsmqPoisonMessageException class.

innerException
Exception

The inner exception to be encapsulated by the new instance of the MsmqPoisonMessageException class.

Applies to