# Codec_WrappedException

Package: [Microsoft.Orleans.Core.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/) 10.0.0

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

```csharp
public sealed class Codec_WrappedException : IFieldCodec, IFieldCodec<WrappedException>, IBaseCodec, IBaseCodec<WrappedException>
```

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_WrappedException(ICodecProvider, IActivator&lt;WrappedException&gt;)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleanscodegen.orleans.runtime.codec-wrappedexception/constructors/constructor-orleans-serialization-serializers-icodecprovider-orleans-serializati-16c54fdc/)

## Methods

- [Deserialize(Reader&lt;TReaderInput&gt;, WrappedException)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleanscodegen.orleans.runtime.codec-wrappedexception/methods/deserialize-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-runt-1f5f7adb/)
- [ReadValue(Reader&lt;TReaderInput&gt;, Field)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleanscodegen.orleans.runtime.codec-wrappedexception/methods/readvalue-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-serial-24e39ab2/)
- [Serialize(Writer&lt;TBufferWriter&gt;, WrappedException)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleanscodegen.orleans.runtime.codec-wrappedexception/methods/serialize-1-ref-orleans-serialization-buffers-writer-tbufferwriter-orleans-runti-41c3f5a8/)
- [WriteField(Writer&lt;TBufferWriter&gt;, uint, Type, WrappedException)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleanscodegen.orleans.runtime.codec-wrappedexception/methods/writefield-1-ref-orleans-serialization-buffers-writer-tbufferwriter-uint-system-3c956ed0/)
