MessageQueueException(SerializationInfo, StreamingContext) Constructor

Definition

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

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

Parameters

info
SerializationInfo

A SerializationInfo that holds the serialized data associated with the MessageQueueException.

context
StreamingContext

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

Applies to