PeerPresenceInfo Constructors
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru