Share via


TestErrorEvent Class

Definition

Represents the Chaos event that is created when a failure happens in Chaos test execution.

[System.Serializable]
public sealed class TestErrorEvent : System.Fabric.Chaos.DataStructures.ChaosEvent
[<System.Serializable>]
type TestErrorEvent = class
    inherit ChaosEvent
Public NotInheritable Class TestErrorEvent
Inherits ChaosEvent
Inheritance
Attributes

Properties

Kind

Describes the type of ChaosEvent.

(Inherited from ChaosEvent)
Reason

Gets the string representation of the reason for the validation failure

TimeStampUtc

DateTime of when the event occurred

(Inherited from ChaosEvent)

Methods

FromBytes(Byte[])

This is the default implementation to covert an object back from a byte array

(Inherited from ByteSerializable)
Read(BinaryReader)

Reads the state of this object from byte array.

ReadInheritedMembers(BinaryReader)

This method is called from the derived class to convert back the inherited members from bytes

(Inherited from ChaosEvent)
ToBytes()

In order to convert the Chaos event object into a byte array this override starts off by writing the event type and then calls the Write method of the derived class

(Inherited from ChaosEvent)
ToString()

Gets a string representation of the test error event.

Write(BinaryWriter)

Writes the state of this object into a byte array.

WriteInheritedMembers(BinaryWriter)

This method is called from the derived class to convert the inherited members into bytes

(Inherited from ChaosEvent)

Applies to