CancelledTestNodeStateProperty 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.
Caution
CancelledTestNodeStateProperty is obsolete. Test frameworks should throw OperationCanceledException using the cancellation token passed by Microsoft.Testing.Platform instead of using this state.
Property that represents an eventual cancellation of a test node.
public sealed class CancelledTestNodeStateProperty : Microsoft.Testing.Platform.Extensions.Messages.TestNodeStateProperty, IEquatable<Microsoft.Testing.Platform.Extensions.Messages.CancelledTestNodeStateProperty>
[System.Obsolete("CancelledTestNodeStateProperty is obsolete. Test frameworks should throw OperationCanceledException using the cancellation token passed by Microsoft.Testing.Platform instead of using this state.")]
public sealed class CancelledTestNodeStateProperty : Microsoft.Testing.Platform.Extensions.Messages.TestNodeStateProperty, IEquatable<Microsoft.Testing.Platform.Extensions.Messages.CancelledTestNodeStateProperty>
type CancelledTestNodeStateProperty = class
inherit TestNodeStateProperty
interface IEquatable<CancelledTestNodeStateProperty>
[<System.Obsolete("CancelledTestNodeStateProperty is obsolete. Test frameworks should throw OperationCanceledException using the cancellation token passed by Microsoft.Testing.Platform instead of using this state.")>]
type CancelledTestNodeStateProperty = class
inherit TestNodeStateProperty
interface IEquatable<CancelledTestNodeStateProperty>
Public NotInheritable Class CancelledTestNodeStateProperty
Inherits TestNodeStateProperty
Implements IEquatable(Of CancelledTestNodeStateProperty)
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| CancelledTestNodeStateProperty() |
Initializes a new instance of the CancelledTestNodeStateProperty class. |
| CancelledTestNodeStateProperty(Exception, String) |
Initializes a new instance of the CancelledTestNodeStateProperty class. |
| CancelledTestNodeStateProperty(String) |
Initializes a new instance of the CancelledTestNodeStateProperty class. |
Properties
| Name | Description |
|---|---|
| EqualityContract | (Inherited from TestNodeStateProperty) |
| Exception |
Gets the cancellation exception. |
| Explanation |
Gets the textual explanation of the node state. (Inherited from TestNodeStateProperty) |
Methods
| Name | Description |
|---|---|
| <Clone>$() | |
| Deconstruct(String) | (Inherited from TestNodeStateProperty) |
| Equals(CancelledTestNodeStateProperty) | Indicates whether the current object is equal to another object of the same type. |
| Equals(Object) | Determines whether the specified object is equal to the current object. |
| Equals(TestNodeStateProperty) | |
| Equals(TestNodeStateProperty) | (Inherited from TestNodeStateProperty) |
| GetHashCode() | Serves as the default hash function. |
| PrintMembers(StringBuilder) | (Inherited from TestNodeStateProperty) |
| ToString() | Returns a string that represents the current object. |
Operators
| Name | Description |
|---|---|
| Equality(CancelledTestNodeStateProperty, CancelledTestNodeStateProperty) | |
| Inequality(CancelledTestNodeStateProperty, CancelledTestNodeStateProperty) | |