Redigera

Dela via


PeerContact(SerializationInfo, StreamingContext) Constructor

Definition

No public constructor is defined for this class.

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)

Parameters

serializationInfo
SerializationInfo

The SerializationInfo associated with the PeerContact.

streamingContext
StreamingContext

The serialization destination associated with the PeerContact.

Attributes

Remarks

An instance of this object can be obtained from the GetContactCreateContact or FromXml methods.

Applies to

See also