Dela via


StartedEvent Class

Definition

Represents the event that is created when Chaos is started for the first time or following a stop.

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

Constructors

StartedEvent()
StartedEvent(DateTime, ChaosParameters)

Properties

ChaosParameters

Gets the object that encapsulate the parameters with which Chaos was started.

Kind

Describes the type of ChaosEvent.

(Inherited from ChaosEvent)
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 started 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