RequestId Class
Uniquely identifies a request and can be used with messages and events.
Inheritance Hierarchy
System.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 | |
---|---|---|
Id | Gets or sets the underlying GUID that represents the RequestId. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo(Object) | Compares this instance with the provided object. | |
CompareTo(RequestId) | Compares this instance with the provided RequestId. | |
Equals(Object) | Compares this instance with the provided object for value equality. (Overrides Object.Equals(Object).) | |
Equals(RequestId) | Compares this instance with the provided RequestId for value equality. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets a hash code for this instance. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Converts the instance to a string in lowercase registry format. (Overrides Object.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Compares two RequestIds for value equality. | |
Inequality | Compares two RequestIds for value inequality. |
Top
Fields
Name | Description | |
---|---|---|
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.