PeerEndPoint Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class PeerEndPoint : IDisposable, IEquatable<System::Net::PeerToPeer::Collaboration::PeerEndPoint ^>, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class PeerEndPoint : IDisposable, IEquatable<System.Net.PeerToPeer.Collaboration.PeerEndPoint>, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type PeerEndPoint = class
interface IDisposable
interface IEquatable<PeerEndPoint>
interface ISerializable
Public Class PeerEndPoint
Implements IDisposable, IEquatable(Of PeerEndPoint), ISerializable
- Inheritance
-
PeerEndPoint
- Attributes
- Implements
Remarks
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.
Constructors
PeerEndPoint() |
Generates a new instance of the PeerEndPoint class. |
PeerEndPoint(IPEndPoint, String) |
Initializes a new instance of the PeerEndPoint class with the peer-associated endpoint contained in IPEndPoint and a string specifying |
PeerEndPoint(IPEndPoint) |
Initializes a new instance of the PeerEndPoint class with the peer-associated endpoint contained in IPEndPoint. |
PeerEndPoint(SerializationInfo, StreamingContext) |
Initializes a new PeerEndPoint instance with the associated parameters required for serialization. |
Properties
EndPoint |
Gets or sets the IPEndPoint that contains the IP address associated with the PeerEndPoint instance. |
Name |
Gets or sets a String that represents a displayed name for the PeerEndPoint instance. |
SynchronizingObject |
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. |
Methods
Dispose() |
Releases all resources used by the PeerEndPoint object. |
Dispose(Boolean) |
Releases the unmanaged resources used by the PeerEndPoint object and optionally releases the managed resources. |
Equals(Object, Object) |
Determines whether the specified PeerEndPoint objects are considered equal. |
Equals(Object) |
Compares the PeerEndPoint to the specified Object. |
Equals(PeerEndPoint) |
Compares the PeerEndPoint to the specified PeerEndPoint instance. |
GetHashCode() |
Returns the hash code for a PeerEndPoint instance. |
GetObjectData(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(SerializationInfo, StreamingContext) method. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
OnNameChanged(NameChangedEventArgs) |
Called when a change occurs to the |
ToString() |
Returns a String that represents a PeerEndPoint instance. |
Events
NameChanged |
Signaled when the name associated with a PeerEndPoint object changes. |
Explicit Interface Implementations
ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
Populates the current PeerEndPoint instance with the data obtained from the serialized source. |