# Codec_RandomlyInjectedInconsistentStateException

Package: [Microsoft.Orleans.TestingHost](/orleans/docs/api/csharp/microsoft.orleans.testinghost/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.TestingHost)

```csharp
public sealed class Codec_RandomlyInjectedInconsistentStateException : IFieldCodec, IFieldCodec<RandomlyInjectedInconsistentStateException>
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Constructors

- [Codec_RandomlyInjectedInconsistentStateException(ICodecProvider)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleanscodegen.orleans.testinghost.codec-randomlyinjectedinconsistentstateexception/constructors/constructor-orleans-serialization-serializers-icodecprovider-d7f38e2a/)

## Methods

- [Deserialize(Reader&lt;TReaderInput&gt;, RandomlyInjectedInconsistentStateException)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleanscodegen.orleans.testinghost.codec-randomlyinjectedinconsistentstateexception/methods/deserialize-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-test-4c1aac93/)
- [ReadValue(Reader&lt;TReaderInput&gt;, Field)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleanscodegen.orleans.testinghost.codec-randomlyinjectedinconsistentstateexception/methods/readvalue-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-serial-a2ec60a0/)
- [Serialize(Writer&lt;TBufferWriter&gt;, RandomlyInjectedInconsistentStateException)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleanscodegen.orleans.testinghost.codec-randomlyinjectedinconsistentstateexception/methods/serialize-1-ref-orleans-serialization-buffers-writer-tbufferwriter-orleans-testi-91fcb9b0/)
- [WriteField(Writer&lt;TBufferWriter&gt;, uint, Type, RandomlyInjectedInconsistentStateException)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleanscodegen.orleans.testinghost.codec-randomlyinjectedinconsistentstateexception/methods/writefield-1-ref-orleans-serialization-buffers-writer-tbufferwriter-uint-system-676109d2/)
