# Codec_ThrowOperation

Package: [Microsoft.Orleans.Transactions.TestKit.Base](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/) 10.0.0

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

```csharp
public sealed class Codec_ThrowOperation : IFieldCodec, IFieldCodec<ThrowOperation>, IBaseCodec, IBaseCodec<ThrowOperation>
```

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_ThrowOperation(IActivator&lt;ThrowOperation&gt;)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.codec-throwoperation/constructors/constructor-orleans-serialization-activators-iactivator-orleans-transactions-tes-a2602232/)

## Methods

- [Deserialize(Reader&lt;TReaderInput&gt;, ThrowOperation)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.codec-throwoperation/methods/deserialize-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-tran-9200efdb/)
- [ReadValue(Reader&lt;TReaderInput&gt;, Field)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.codec-throwoperation/methods/readvalue-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-serial-5b958870/)
- [Serialize(Writer&lt;TBufferWriter&gt;, ThrowOperation)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.codec-throwoperation/methods/serialize-1-ref-orleans-serialization-buffers-writer-tbufferwriter-orleans-trans-4cc2b828/)
- [WriteField(Writer&lt;TBufferWriter&gt;, uint, Type, ThrowOperation)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.codec-throwoperation/methods/writefield-1-ref-orleans-serialization-buffers-writer-tbufferwriter-uint-system-7e276c8a/)
