PresenceChangedEventArgs 类

定义

在发生 PresenceChangedLocalPresenceChanged 事件时向回调方法提供限定信息。Provides qualifying information to a callback method when a PresenceChanged or LocalPresenceChanged event occurs.

public ref class PresenceChangedEventArgs : EventArgs
public class PresenceChangedEventArgs : EventArgs
type PresenceChangedEventArgs = class
    inherit EventArgs
Public Class PresenceChangedEventArgs
Inherits EventArgs
继承
PresenceChangedEventArgs

属性

PeerChangeType

指定对等方状态已发生的更改类型。Specifies the type of change that has occurred to the presence status of a peer.

PeerContact

指定已更改状态信息的 PeerContactSpecifies the PeerContact on which the presence information has changed.

PeerEndPoint

指定已更改状态信息的 PeerEndPointSpecifies the PeerEndPoint on which the presence information has changed.

PeerPresenceInfo

指定 PeerEndPoint 的状态更改信息,以及一个由描述更新状态的 PeerPresenceInfo 提供的字符串。Specifies the changed presence information of a PeerEndPoint as well as a string provided by PeerPresenceInfo describing the updated presence status.

方法

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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅