PeerEndPoint PeerEndPoint PeerEndPoint PeerEndPoint Constructors

Definition

Overloads

PeerEndPoint() PeerEndPoint() PeerEndPoint()

Generates a new instance of the PeerEndPoint class.

PeerEndPoint(IPEndPoint) PeerEndPoint(IPEndPoint) PeerEndPoint(IPEndPoint) PeerEndPoint(IPEndPoint)

Initializes a new instance of the PeerEndPoint class with the peer-associated endpoint contained in IPEndPoint.

PeerEndPoint(IPEndPoint, String) PeerEndPoint(IPEndPoint, String) PeerEndPoint(IPEndPoint, String) PeerEndPoint(IPEndPoint, String)

Initializes a new instance of the PeerEndPoint class with the peer-associated endpoint contained in IPEndPoint and a string specifying endPointName.

PeerEndPoint(SerializationInfo, StreamingContext) PeerEndPoint(SerializationInfo, StreamingContext) PeerEndPoint(SerializationInfo, StreamingContext)

Initializes a new PeerEndPoint instance with the associated parameters required for serialization.

Remarks

This constructor is provided in the event a developer already knows the IP address of the PeerEndPoint they wish to contact.

Utilizing this constructor to generate an explicit PeerEndPoint instance facilitates the creation of a Peer class instance that can in turn be used to interact with the peer identified by an IP address, using the Peer Collaboration Infrastructure.

PeerEndPoint() PeerEndPoint() PeerEndPoint()

Generates a new instance of the PeerEndPoint class.

public:
 PeerEndPoint();
public PeerEndPoint ();
Public Sub New ()

PeerEndPoint(IPEndPoint) PeerEndPoint(IPEndPoint) PeerEndPoint(IPEndPoint) PeerEndPoint(IPEndPoint)

Initializes a new instance of the PeerEndPoint class with the peer-associated endpoint contained in IPEndPoint.

public:
 PeerEndPoint(System::Net::IPEndPoint ^ endPoint);
public PeerEndPoint (System.Net.IPEndPoint endPoint);
new System.Net.PeerToPeer.Collaboration.PeerEndPoint : System.Net.IPEndPoint -> System.Net.PeerToPeer.Collaboration.PeerEndPoint
Public Sub New (endPoint As IPEndPoint)

Parameters

endPoint
IPEndPoint IPEndPoint IPEndPoint IPEndPoint

The endpoint associated with the peer.

See also

PeerEndPoint(IPEndPoint, String) PeerEndPoint(IPEndPoint, String) PeerEndPoint(IPEndPoint, String) PeerEndPoint(IPEndPoint, String)

Initializes a new instance of the PeerEndPoint class with the peer-associated endpoint contained in IPEndPoint and a string specifying endPointName.

public:
 PeerEndPoint(System::Net::IPEndPoint ^ endPoint, System::String ^ endPointName);
public PeerEndPoint (System.Net.IPEndPoint endPoint, string endPointName);
new System.Net.PeerToPeer.Collaboration.PeerEndPoint : System.Net.IPEndPoint * string -> System.Net.PeerToPeer.Collaboration.PeerEndPoint
Public Sub New (endPoint As IPEndPoint, endPointName As String)

Parameters

endPoint
IPEndPoint IPEndPoint IPEndPoint IPEndPoint

The endpoint associated with the peer.

endPointName
String String String String

Specifies the name associated with the PeerEndPoint.

Exceptions

The endPoint specified is not a valid IPv6 endpoint.

PeerEndPoint(SerializationInfo, StreamingContext) PeerEndPoint(SerializationInfo, StreamingContext) PeerEndPoint(SerializationInfo, StreamingContext)

Initializes a new PeerEndPoint instance with the associated parameters required for serialization.

protected:
 PeerEndPoint(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected PeerEndPoint (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Net.PeerToPeer.Collaboration.PeerEndPoint : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.PeerToPeer.Collaboration.PeerEndPoint

Parameters

streamingContext
StreamingContext StreamingContext StreamingContext StreamingContext

The serialization destination associated with the PeerEndPoint.

Applies to