Peer.GetPresenceInfo(PeerEndPoint) 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.
Gets the available presence information for a PeerEndPoint.
public:
System::Net::PeerToPeer::Collaboration::PeerPresenceInfo ^ GetPresenceInfo(System::Net::PeerToPeer::Collaboration::PeerEndPoint ^ peerEndPoint);
[System.Security.SecurityCritical]
public System.Net.PeerToPeer.Collaboration.PeerPresenceInfo GetPresenceInfo (System.Net.PeerToPeer.Collaboration.PeerEndPoint peerEndPoint);
[<System.Security.SecurityCritical>]
member this.GetPresenceInfo : System.Net.PeerToPeer.Collaboration.PeerEndPoint -> System.Net.PeerToPeer.Collaboration.PeerPresenceInfo
Public Function GetPresenceInfo (peerEndPoint As PeerEndPoint) As PeerPresenceInfo
Parameters
- peerEndPoint
- PeerEndPoint
The PeerEndPoint for which to retrieve presence information.
Returns
A PeerPresenceInfo object which contains presence information for an available endpoint if it is available; otherwise, null
.
- Attributes
Exceptions
peerEndPoint
does not contain a valid endpoint.
peerEndPoint
is null
.
This object has been disposed and cannot be used in current peer operations.
An error occurred while retrieving presence information from the peer.
Remarks
Presence information includes status descriptors such as online, offline, and away.
Calling this method requires a PermissionState of Unrestricted.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για