StoppedEvent Class

Definition

Represents the Chaos event that is created when Chaos is stopped for some reason.

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

Properties

Kind

Describes the type of ChaosEvent.

(Inherited from ChaosEvent)
Reason

Gets the reason for stopping.

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 stopped 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