PeerCollaboration.GetLocalSetObjects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains all PeerObject instances registered by the calling peer with the PeerCollaboration infrastructure on this machine.
public:
static System::Net::PeerToPeer::Collaboration::PeerObjectCollection ^ GetLocalSetObjects();
[System.Security.SecurityCritical]
public static System.Net.PeerToPeer.Collaboration.PeerObjectCollection GetLocalSetObjects ();
[<System.Security.SecurityCritical>]
static member GetLocalSetObjects : unit -> System.Net.PeerToPeer.Collaboration.PeerObjectCollection
Public Shared Function GetLocalSetObjects () As PeerObjectCollection
Returns
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.
- Attributes
Exceptions
An invalid value was returned when this method attempted to enumerate all available PeerObject instances.
Remarks
Access to this property requires a PermissionState of Unrestricted. This state is created when the Peer collaboration session begins.
Applies to
See also
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir