PeerPresenceInfo Constructor (PeerPresenceStatus, String^)

 

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: