Udostępnij za pośrednictwem


ValidationFailedEvent Class

Definition

Represents the Chaos event that is created when validation fails and encapsulates information about why validation failed.

[System.Serializable]
public sealed class ValidationFailedEvent : System.Fabric.Chaos.DataStructures.ChaosEvent
[<System.Serializable>]
type ValidationFailedEvent = class
    inherit ChaosEvent
Public NotInheritable Class ValidationFailedEvent
Inherits ChaosEvent
Inheritance
ValidationFailedEvent
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 validation failed 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