This documentation is archived and is not being maintained.

RequestId Class

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

System.Object
  Microsoft.VisualStudio.TestTools.Execution.RequestId

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

[SerializableAttribute]
public sealed class RequestId : IEquatable<RequestId>, 
	IComparable<RequestId>, IComparable

The RequestId type exposes the following members.

  NameDescription
Public propertyIdGets or sets the underlying GUID that represents the RequestId.
Top

  NameDescription
Public methodCompareTo(Object)Compares this instance with the provided object.
Public methodCompareTo(RequestId)Compares this instance with the provided RequestId.
Public methodEquals(Object)Compares this instance with the provided object for value equality. (Overrides Object.Equals(Object).)
Public methodEquals(RequestId)Compares this instance with the provided RequestId for value equality.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeGets a hash code for this instance. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringConverts the instance to a string in lowercase registry format. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityCompares two RequestIds for value equality.
Public operatorStatic memberInequalityCompares two RequestIds for value inequality.
Top

  NameDescription
Public fieldStatic memberEmptyA RequestId with an empty GUID.
Top

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