Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ContactManager Methods

The ContactManager type exposes the following members.

  Name Description
Public method AddContact Adds the specified PeerContact to the ContactManager of the local peer.
Public method CreateContact Creates a PeerContact instance for the specified PeerNearMe object.
Public method CreateContactAsync Creates a contact instance for the specified PeerNearMe object.
Public method DeleteContact(PeerContact) Removes the specified PeerContact from the ContactManager of the local peer.
Public method DeleteContact(PeerName) Removes the PeerContact associated with the specified PeerName from the ContactManager of the local peer.
Public method Dispose Releases all resources used by the ContactManager object.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetContact Returns the PeerContact object for the specified PeerName.
Public method GetContacts Returns a PeerContactCollection that contains all contacts within the ContactManager of the remote peer.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateContact Updates the data associated with the PeerContact.
Top
Show:
© 2015 Microsoft