Share via


SessionId Class

Definition

Represents an identifier for a test session. This class cannot be inherited.

public ref class SessionId sealed
[System.Serializable]
public sealed class SessionId
[<System.Serializable>]
type SessionId = class
Public NotInheritable Class SessionId
Inheritance
SessionId
Attributes

Constructors

SessionId()

Initializes a new instance of the SessionId class.

SessionId(Guid)

Initializes a new instance of the SessionId class by using the provided GUID.

Properties

Empty

Gets a new SessionId object that has an empty ID.

Id

Gets the GUID that was provided when this session ID was created.

Methods

Equals(Object)

Gets a value that indicates whether the provided object is equal to the current session ID object.

GetHashCode()
ToString()

Returns a string version of the GUID.

Applies to