PeerNearMe::AddToContactManager Method ()

 

Generates a PeerContact from the PeerNearMe object and associates it with the ContactManager.

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

public:
PeerContact^ AddToContactManager()

Return Value

Type: System.Net.PeerToPeer.Collaboration::PeerContact^

PeerContact object associated with the PeerEndPoint.

Exception Condition
PeerToPeerException

The Collaboration infrastructure has failed to create and associate a PeerContact with the ContactManager.

.NET Framework
Available since 3.5
Return to top
Show: