PeerCollaboration.LocalPresenceInfo Property
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.
Gets or sets the presence for the calling peer within the PeerCollaboration infrastructure.
public:
static property System::Net::PeerToPeer::Collaboration::PeerPresenceInfo ^ LocalPresenceInfo { System::Net::PeerToPeer::Collaboration::PeerPresenceInfo ^ get(); void set(System::Net::PeerToPeer::Collaboration::PeerPresenceInfo ^ value); };
public static System.Net.PeerToPeer.Collaboration.PeerPresenceInfo LocalPresenceInfo { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
static member LocalPresenceInfo : System.Net.PeerToPeer.Collaboration.PeerPresenceInfo with get, set
Public Shared Property LocalPresenceInfo As PeerPresenceInfo
The PeerPresenceInfo that contains presence information for the calling peer that has registered for a PeerCollaboration session.
- Attributes
PeerPresenceInfo cannot specify null
PeerPresenceStatus is offline
Unable to set PeerPresenceInfo
Calling this method requires a PermissionState of Unrestricted. This state is created when the Peer collaboration session begins.
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: