This documentation is archived and is not being maintained.

RequestId Class

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


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

public sealed class RequestId : IEquatable<RequestId>, 
	IComparable<RequestId>, IComparable

The RequestId type exposes the following members.

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

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().)

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

Public fieldStatic memberEmptyA RequestId with an empty GUID.

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