TfsmqConnectionNotification 类

提供有关连接的从消息队列的信息或断开连接。

继承层次结构

System.Object
  Microsoft.TeamFoundation.Framework.Server.TfsmqNotification
    Microsoft.TeamFoundation.Framework.Server.TfsmqConnectionNotification

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public NotInheritable Class TfsmqConnectionNotification _
    Inherits TfsmqNotification
public sealed class TfsmqConnectionNotification : TfsmqNotification

TfsmqConnectionNotification 类型公开以下成员。

属性

  名称 说明
公共属性 DateLastConnected 获取日期/时间 (指定 UTC) 与消息队列中的最后一个客户端连接。
公共属性 IsConnect 获取指示此事件是否的值是连接。
公共属性 IsDisconnect 获取指示此事件是否的值是连接过期。
公共属性 QueueAddress 获取队列的地址。 (继承自 TfsmqNotification。)
公共属性 QueueName 获取队列的名称。 (继承自 TfsmqNotification。)
公共属性 SequenceId 获取此通知的顺序标识符。
公共属性 SessionId 获取此通知会话标识符,因此,如果中的任何一个。

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.TeamFoundation.Framework.Server 命名空间