PeerPresenceInfo Constructor (PeerPresenceStatus, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes an instance of a PeerPresenceInfo object that includes a Unicode string describing the presence status the local peer.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

public PeerPresenceInfo(
	PeerPresenceStatus presenceStatus,
	string description
)

Parameters

presenceStatus
Type: System.Net.PeerToPeer.Collaboration.PeerPresenceStatus

Status of the Peer.

description
Type: System.String

Description of the presence state.

New instances of PeerPresenceStatus generated by this constructor contain a default PeerPresenceInfo value equal to "Online".

.NET Framework
Available since 3.5
Return to top
Show: