Cloud(SerializationInfo, StreamingContext) 构造函数

定义

初始化 PNRP Cloud 类型的新实例。Initializes a new instance of the PNRP Cloud type. 这会使用序列化云对象所需的数据填充序列化信息对象。This populates a serialization information object with the data needed to serialize the Cloud object.

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

参数

info
SerializationInfo

对象的引用,该对象保存反序列化此实例时所需的数据。Reference to the object that holds the data needed to deserialize this instance.

context
StreamingContext

提供反序列化数据的方式的上下文。Context that provides the means for deserializing the data. 也称为序列化数据的源。Also referred to as the source of the serialized data.

注解

Name属性包含 cloud 对象的名称。The Name property contains the name of the cloud object.

适用于

另请参阅