ChaosEvent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This is the base class for all the different types of events that Chaos generates
[System.Serializable]
public abstract class ChaosEvent : System.Fabric.ByteSerializable
[<System.Serializable>]
type ChaosEvent = class
inherit ByteSerializable
Public MustInherit Class ChaosEvent
Inherits ByteSerializable
- Inheritance
- Derived
- Attributes
Properties
Kind |
Describes the type of ChaosEvent. |
TimeStampUtc |
DateTime of when the event occurred |
Methods
FromBytes(Byte[]) |
This is the default implementation to covert an object back from a byte array (Inherited from ByteSerializable) |
Read(BinaryReader) |
This method is passed onto the derived classed for implementation |
ReadInheritedMembers(BinaryReader) |
This method is called from the derived class to convert back the inherited members from bytes |
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 |
ToString() |
Returns a string representation of the class |
Write(BinaryWriter) |
This method is passed onto the derived classes for implementation |
WriteInheritedMembers(BinaryWriter) |
This method is called from the derived class to convert the inherited members into bytes |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기