PeerCollaboration::LocalPresenceInfo Property
.NET Framework (current version)
Gets or sets the presence for the calling peer within the PeerCollaboration infrastructure.
Assembly: System.Net (in System.Net.dll)
public: property PeerPresenceInfo^ LocalPresenceInfo { [SecurityCriticalAttribute] static PeerPresenceInfo^ get(); [SecurityCriticalAttribute] static void set(PeerPresenceInfo^ value); }
Property Value
Type: System.Net.PeerToPeer.Collaboration::PeerPresenceInfo^The PeerPresenceInfo that contains presence information for the calling peer that has registered for a PeerCollaboration session.
| Exception | Condition |
|---|---|
| ArgumentNullException | PeerPresenceInfo cannot specify null |
| PeerToPeerException |
|
Calling this method 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: