Peer.GetPresenceInfo(PeerEndPoint) Method
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
- peerEndPoint
- PeerEndPoint
The PeerEndPoint for which to retrieve presence information.
A PeerPresenceInfo object which contains presence information for an available endpoint if it is available; otherwise, null
.
- Attributes
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.
Presence information includes status descriptors such as online, offline, and away.
Calling this method requires a PermissionState of Unrestricted.
Proizvod | Verzije |
---|---|
.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 |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: