This documentation is archived and is not being maintained.

PeerNearMe Members

Visual Studio 2008

Represents a peer located by the "People Near Me" infrastructure.

The PeerNearMe type exposes the following members.

Public method PeerNearMe Overloaded. Initializes a new instance of the PeerNearMe class.

Public method AddToContactManager Overloaded. Generates a PeerContact from a PeerNearMe object and associates it with the ContactManager.
Public method Static member CreateFromPeerEndPoint Generates a PeerNearMe object from the provided PeerEndPoint.
Public method Dispose Overloaded. Releases all resources utilized by the PeerObject class.
Public method Static member Equals Overloaded. Compares the PeerNearMe instance to the specified object.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for the PeerNearMe instance. (Overrides Object.GetHashCode().)
Protected method GetObjectData Populates a SerializationInfo with the data required to serialize the specified PeerNearMe. A derived type must call the base type GetObjectData method. (Overrides Peer.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetObjects Overloaded. Gets the collection of data objects that were registered by the peer from a local cache.
Public method GetPresenceInfo Gets the available presence information for a PeerEndPoint. (Inherited from Peer.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method InternalRefreshData Initiates a network operation to retrieve the application, object and presence data specific to a PeerNearMe instance.
Public method Invite Overloaded. Sends an invitation to join a peer collaboration application to a remote peer.
Public method InviteAsync Overloaded. Receives an invitation response from a peer regarding joining a peer collaboration application.
Public method InviteAsyncCancel Cancels the invitation that was sent with the InviteAsync method. (Inherited from Peer.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnInviteCompleted Raises the InviteCompleted event. (Inherited from Peer.)
Protected method OnRefreshDataCompleted Signals the RefreshDataCompleted event.
Public method RefreshData Initiates a network operation to retrieve the application, object and presence data specific to a PeerNearMe instance.
Public method RefreshDataAsync Initiates a network operation to retrieve the application, object and presence data specific to a PeerNearMe instance.
Public method ToString Returns String that represents a PeerNearMe instance. (Overrides Peer.ToString().)

Public property IsOnline Gets a value specifying if the Peer is currently 'online'. (Inherited from Peer.)
Public property Nickname Gets or sets a String representing the Nickname of the PeerNearMe object.
Public property PeerEndPoints Gets the PeerEndPointCollection associated with the Peer. (Inherited from Peer.)
Public property 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. (Inherited from Peer.)

Public event InviteCompleted Raised when the invitation process for a remote peer has completed. (Inherited from Peer.)
Public event Static member PeerNearMeChanged Signaled when a new PeerNearMe instance is found, no longer available, or the associated PeerEndPoint object information has changed.
Public event RefreshDataCompleted Signaled when the RefreshData or RefreshDataAsync operation for the PeerNearMe instance is completed.

Explicit interface implemetation Private method ISerializable.GetObjectData Populates the current PeerNearMe instance with the data obtained from the serialized source.