ActivityId 类

Represents an activity identifier.

继承层次结构

System.Object
  Microsoft.SqlServer.XEvent.ActivityId

命名空间:  Microsoft.SqlServer.XEvent
程序集:  Microsoft.SqlServer.XEvent.Linq(在 Microsoft.SqlServer.XEvent.Linq.dll 中)

语法

声明
<SerializableAttribute> _
Public Class ActivityId
用法
Dim instance As ActivityId
[SerializableAttribute]
public class ActivityId
[SerializableAttribute]
public ref class ActivityId
[<SerializableAttribute>]
type ActivityId =  class end
public class ActivityId

ActivityId 类型公开以下成员。

构造函数

  名称 说明
公共方法 ActivityId Initializes a new instance of the ActivityId class.

页首

属性

  名称 说明
公共属性 Id Gets the activity identifier.
公共属性 Sequence Gets the activity sequence.

页首

方法

  名称 说明
公共方法 Equals Determines whether the specified activity is equal to the current activity. (覆盖 Object.Equals(Object)。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Gets the hash code for the current activity. (覆盖 Object.GetHashCode()。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString Returns a string representation of the current activity. (覆盖 Object.ToString()。)

页首

运算符

  名称 说明
公共运算符静态成员 Equality Determines whether the two instances of activity are equal.
公共运算符静态成员 Inequality Determines whether the two instances of activity are not equal.

页首

线程安全

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

请参阅

参考

Microsoft.SqlServer.XEvent 命名空间