Redigera

Dela via


PeerPresenceInfo Constructors

Definition

Initializes a new instance of the PeerPresenceInfo class.

Overloads

PeerPresenceInfo()

Initializes a new default instance of the PeerPresenceInfo class.

PeerPresenceInfo(PeerPresenceStatus, String)

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

Remarks

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

PeerPresenceInfo()

Initializes a new default instance of the PeerPresenceInfo class.

public:
 PeerPresenceInfo();
public PeerPresenceInfo ();
Public Sub New ()

Remarks

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

See also

Applies to

PeerPresenceInfo(PeerPresenceStatus, String)

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

public:
 PeerPresenceInfo(System::Net::PeerToPeer::Collaboration::PeerPresenceStatus presenceStatus, System::String ^ description);
public PeerPresenceInfo (System.Net.PeerToPeer.Collaboration.PeerPresenceStatus presenceStatus, string description);
new System.Net.PeerToPeer.Collaboration.PeerPresenceInfo : System.Net.PeerToPeer.Collaboration.PeerPresenceStatus * string -> System.Net.PeerToPeer.Collaboration.PeerPresenceInfo
Public Sub New (presenceStatus As PeerPresenceStatus, description As String)

Parameters

presenceStatus
PeerPresenceStatus

Status of the Peer.

description
String

Description of the presence state.

Remarks

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

See also

Applies to