Peer Constructor (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Initializes a new instance of the Peer type.
Assembly: System.Net (in System.Net.dll)
protected:
Peer(
SerializationInfo^ serializationInfo,
StreamingContext streamingContext
)
Parameters
- serializationInfo
-
Type:
System.Runtime.Serialization::SerializationInfo^
Reference to the object that holds the data needed to deserialize this instance.
- streamingContext
-
Type:
System.Runtime.Serialization::StreamingContext
Context that provides the means for deserializing the data. Also referred to as the source of the serialized data.
Returns a type Peer object, subclassed on PeerContact or PeerNearMe. The PeerContact PeerName or the PeerNearMe Nickname contain unique references to the name of the new peer object.
.NET Framework
Available since 3.5
Available since 3.5
Show: