PeerEndPoint Class

PeerEndPoint Class

 

Represents the location of a PeerNearMe, or PeerContact instance specified with a unique network address configuration by describing the current instance of a PeerContact or PeerNearMe within the Peer-to-Peer Collaboration Infrastructure.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

System.Object
  System.Net.PeerToPeer.Collaboration.PeerEndPoint

[SerializableAttribute]
public class PeerEndPoint : IDisposable, IEquatable<PeerEndPoint>, 
	ISerializable

NameDescription
System_CAPS_pubmethodPeerEndPoint()

Generates a new instance of the PeerEndPoint class.

System_CAPS_pubmethodPeerEndPoint(IPEndPoint)

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

System_CAPS_pubmethodPeerEndPoint(IPEndPoint, String)

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

System_CAPS_protmethodPeerEndPoint(SerializationInfo, StreamingContext)

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

NameDescription
System_CAPS_pubpropertyEndPoint

Gets or sets the IPEndPoint that contains the IP address associated with the PeerEndPoint instance.

System_CAPS_pubpropertyName

Gets or sets a String that represents a displayed name for the PeerEndPoint instance.

System_CAPS_pubpropertySynchronizingObject

When this property value is set, all events not fired as the result of an asynchronous operation will have the associated event handlers called back on the thread that created the specific SynchronizingObject.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the PeerEndPoint object.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the PeerEndPoint object and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Compares the PeerEndPoint to the specified Object.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodSystem_CAPS_staticEquals(Object, Object)

Determines whether the specified PeerEndPoint objects are considered equal.

System_CAPS_pubmethodEquals(PeerEndPoint)

Compares the PeerEndPoint to the specified PeerEndPoint instance.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for a PeerEndPoint instance.(Overrides Object.GetHashCode().)

System_CAPS_protmethodGetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo class instance with the data required to serialize the specified PeerObject instance. A derived type must call the base type GetObjectData method.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnNameChanged(NameChangedEventArgs)

Called when a change occurs to the PeerName specified by the PeerContact associated with the PeerEndPoint instance.

System_CAPS_pubmethodToString()

Returns a String that represents a PeerEndPoint instance.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubeventNameChanged

Signaled when the name associated with a PeerEndPoint object changes.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

Populates the current PeerEndPoint instance with the data obtained from the serialized source.

A peer "endpoint" describes a contact's presence location — the unique network address configuration that describes the currently available instance of the contact within the peer collaboration network. A single contact can be available at multiple endpoints within the peer collaboration network.

A peer watching a contact can query any of the endpoints associated with that contact for specific peer presence, application, or object updates.

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft