PeerCollaboration::GetLocalSetObjects Method ()
.NET Framework (current version)
Obtains all PeerObject instances registered by the calling peer with the PeerCollaboration infrastructure on this machine.
Assembly: System.Net (in System.Net.dll)
Return Value
Type: System.Net.PeerToPeer.Collaboration::PeerObjectCollection^A PeerObjectCollection which contains all the PeerObject instances registered by the calling peer with the PeerCollaboration infrastructure on the local machine.
If registered PeerObject instances are not discovered on the local machine, a collection of size zero (0) is returned.
| Exception | Condition |
|---|---|
| PeerToPeerException | An invalid value was returned when this method attempted to enumerate all available PeerObject instances. |
Access to this property requires a PermissionState of Unrestricted. This state is created when the Peer collaboration session begins.
.NET Framework
Available since 3.5
Available since 3.5
Show: