ErrorTestNodeStateProperty Class

Definition

Property that represents an eventual error in the test node.

public sealed class ErrorTestNodeStateProperty : Microsoft.Testing.Platform.Extensions.Messages.TestNodeStateProperty, IEquatable<Microsoft.Testing.Platform.Extensions.Messages.ErrorTestNodeStateProperty>
type ErrorTestNodeStateProperty = class
    inherit TestNodeStateProperty
    interface IEquatable<ErrorTestNodeStateProperty>
Public NotInheritable Class ErrorTestNodeStateProperty
Inherits TestNodeStateProperty
Implements IEquatable(Of ErrorTestNodeStateProperty)
Inheritance
ErrorTestNodeStateProperty
Implements

Constructors

Name Description
ErrorTestNodeStateProperty()

Initializes a new instance of the ErrorTestNodeStateProperty class.

ErrorTestNodeStateProperty(Exception, String)

Initializes a new instance of the ErrorTestNodeStateProperty class.

ErrorTestNodeStateProperty(String)

Initializes a new instance of the ErrorTestNodeStateProperty class.

Properties

Name Description
EqualityContract (Inherited from TestNodeStateProperty)
Exception

Gets the error exception.

Explanation

Gets the textual explanation of the node state.

(Inherited from TestNodeStateProperty)

Methods

Name Description
<Clone>$()
Deconstruct(String) (Inherited from TestNodeStateProperty)
Equals(ErrorTestNodeStateProperty)

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(ErrorTestNodeStateProperty, ErrorTestNodeStateProperty)
Inequality(ErrorTestNodeStateProperty, ErrorTestNodeStateProperty)

Applies to