RequestId Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Uniquely identifies a request and can be used with messages and events.
public ref class RequestId sealed : IComparable, IComparable<Microsoft::VisualStudio::TestTools::Execution::RequestId ^>, IEquatable<Microsoft::VisualStudio::TestTools::Execution::RequestId ^>
[System.Serializable]
public sealed class RequestId : IComparable, IComparable<Microsoft.VisualStudio.TestTools.Execution.RequestId>, IEquatable<Microsoft.VisualStudio.TestTools.Execution.RequestId>
[<System.Serializable>]
type RequestId = class
interface IEquatable<RequestId>
interface IComparable<RequestId>
interface IComparable
Public NotInheritable Class RequestId
Implements IComparable, IComparable(Of RequestId), IEquatable(Of RequestId)
- Inheritance
-
RequestId
- Attributes
- Implements
Fields
| Name | Description |
|---|---|
| Empty |
A RequestId with an empty GUID. |
Properties
| Name | Description |
|---|---|
| Id |
Gets or sets the underlying GUID that represents the RequestId. |
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. |
| Equals(RequestId) |
Compares this instance with the provided RequestId for value equality. |
| GetHashCode() |
Gets a hash code for this instance. |
| ToString() |
Converts the instance to a string in lowercase registry format. |
Operators
| Name | Description |
|---|---|
| Equality(RequestId, RequestId) |
Compares two RequestIds for value equality. |
| Inequality(RequestId, RequestId) |
Compares two RequestIds for value inequality. |