ContactManager::GetContact Method (PeerName^)
.NET Framework (current version)
Returns the PeerContact object for the specified PeerName.
Assembly: System.Net (in System.Net.dll)
Parameters
- peerName
-
Type:
System.Net.PeerToPeer::PeerName^
The PeerName associated with the PeerContact to be retrieved.
Return Value
Type: System.Net.PeerToPeer.Collaboration::PeerContact^PeerContact associated with the supplied PeerName.
| Exception | Condition |
|---|---|
| ArgumentNullException | peerName is null. |
| ObjectDisposedException | This PeerName object has been disposed. |
| PeerToPeerException |
|
Calling this method requires a PermissionState of Unrestricted.
.NET Framework
Available since 3.5
Available since 3.5
Show: