PeerCollaboration.LocalPresenceInfo Property
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.
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
Property Value
The PeerPresenceInfo that contains presence information for the calling peer that has registered for a PeerCollaboration session.
- Attributes
Exceptions
PeerPresenceInfo cannot specify null
PeerPresenceStatus is offline
Unable to set PeerPresenceInfo
Remarks
Calling this method requires a PermissionState of Unrestricted. This state is created when the Peer collaboration session begins.