Share via


ActivityId Class

Represents an activity identifier.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.XEvent.ActivityId

Namespace:  Microsoft.SqlServer.XEvent
Assembly:  Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ActivityId
'Usage
Dim instance As ActivityId
[SerializableAttribute]
public class ActivityId
[SerializableAttribute]
public ref class ActivityId
[<SerializableAttribute>]
type ActivityId =  class end
public class ActivityId

The ActivityId type exposes the following members.

Constructors

  Name Description
Public method ActivityId Initializes a new instance of the ActivityId class.

Top

Properties

  Name Description
Public property Id Gets the activity identifier.
Public property Sequence Gets the activity sequence.

Top

Methods

  Name Description
Public method Equals Determines whether the specified activity is equal to the current activity. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code for the current activity. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a string representation of the current activity. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether the two instances of activity are equal.
Public operatorStatic member Inequality Determines whether the two instances of activity are not equal.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.XEvent Namespace