PeerContact(SerializationInfo, StreamingContext) 构造函数

定义

不为此类定义公共构造函数。

protected:
 PeerContact(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[System.Security.SecurityCritical]
protected PeerContact (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[<System.Security.SecurityCritical>]
new System.Net.PeerToPeer.Collaboration.PeerContact : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.PeerToPeer.Collaboration.PeerContact
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

参数

serializationInfo
SerializationInfo

SerializationInfo 关联的 PeerContact

streamingContext
StreamingContext

PeerContact 相关联的序列化目标。

属性

注解

可以从 或 FromXml 方法获取GetContactCreateContact此对象的实例。

适用于

另请参阅