PeerPresenceInfo 類別

定義

代表對等電腦的顯示狀態資訊。Represents the presence information of a peer.

public ref class PeerPresenceInfo
public class PeerPresenceInfo
type PeerPresenceInfo = class
Public Class PeerPresenceInfo
繼承
PeerPresenceInfo

備註

「對等體」的存在會指定對等共同作業網路的特定參與程度,例如是否已登入或登出對等協同作業網路,或已將目前狀態設定為「離開」。The presence of a peer specifies a certain level of participation in a peer collaboration network, such as whether or not the peer has logged into or out of the peer collaboration network, or has set presence status to "Away".

建構函式

PeerPresenceInfo()

初始化 PeerPresenceInfo 物件預設的新執行個體。Initializes a new default instance of a PeerPresenceInfo object.

PeerPresenceInfo(PeerPresenceStatus, String)

初始化 PeerPresenceInfo 物件的執行個體,後者會包含描述本機對等電腦顯示狀態的 Unicode 字串。Initializes an instance of a PeerPresenceInfo object that includes a Unicode string describing the presence status the local peer.

屬性

DescriptiveText

取得或設定進一步描述本機對等電腦顯示狀態的 Unicode 字串。Gets or sets a Unicode string further describing the presence status for the local peer.

PresenceStatus

取得或設定本機對等電腦的顯示狀態。Gets or sets the presence status of the local peer.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱