Share via


RequestId Class

Uniquely identifies a request and can be used with messages and events.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.Execution.RequestId

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class RequestId _
    Implements IEquatable(Of RequestId), IComparable(Of RequestId),  _
    IComparable
[SerializableAttribute]
public sealed class RequestId : IEquatable<RequestId>, 
    IComparable<RequestId>, IComparable
[SerializableAttribute]
public ref class RequestId sealed : IEquatable<RequestId^>, 
    IComparable<RequestId^>, IComparable
[<Sealed>]
[<SerializableAttribute>]
type RequestId =  
    class 
        interface IEquatable<RequestId>
        interface IComparable<RequestId>
        interface IComparable 
    end
public final class RequestId implements IEquatable<RequestId>, IComparable<RequestId>, IComparable

The RequestId type exposes the following members.

Properties

  Name Description
Public property Id Gets or sets the underlying GUID that represents the RequestId.

Top

Methods

  Name Description
Public method CompareTo(Object) Compares this instance with the provided object.
Public method CompareTo(RequestId) Compares this instance with the provided RequestId.
Public method Equals(Object) Compares this instance with the provided object for value equality. (Overrides Object.Equals(Object).)
Public method Equals(RequestId) Compares this instance with the provided RequestId for value equality.
Public method GetHashCode Gets a hash code for this instance. (Overrides Object.GetHashCode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Converts the instance to a string in lowercase registry format. (Overrides Object.ToString.)

Top

Operators

  Name Description
Public operatorStatic member Equality Compares two RequestIds for value equality.
Public operatorStatic member Inequality Compares two RequestIds for value inequality.

Top

Fields

  Name Description
Public fieldStatic member Empty A RequestId with an empty GUID.

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.VisualStudio.TestTools.Execution Namespace

SessionId