Udostępnij za pośrednictwem


WaitingEvent Class

Definition

Represents the Chaos event that is created when Chaos is waiting for the cluster to be healthy again.

[System.Serializable]
public sealed class WaitingEvent : System.Fabric.Chaos.DataStructures.ChaosEvent
[<System.Serializable>]
type WaitingEvent = class
    inherit ChaosEvent
Public NotInheritable Class WaitingEvent
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 waiting for healthy system 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