MessageQueueException(SerializationInfo, StreamingContext) 构造函数

定义

用序列化数据初始化 MessageQueueException 类的新实例。

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)

参数

info
SerializationInfo

一个 SerializationInfo,它保存与 MessageQueueException 关联的序列化数据。

context
StreamingContext

一个 StreamingContext,它包含与 MessageQueueException 关联的序列化流的源和目标。

适用于