# FSharpResultCodec&lt;T, TError&gt;

Package: [Microsoft.Orleans.Serialization.FSharp](/orleans/docs/api/csharp/microsoft.orleans.serialization.fsharp/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Serialization.FSharp) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization.FSharp/FSharpCodecs.cs#L1085)

```csharp
public class FSharpResultCodec<T, TError> : IDerivedTypeCodec, IFieldCodec, IFieldCodec<FSharpResult<T, TError>>
```

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

- [FSharpResultCodec&lt;T, TError&gt;(IFieldCodec&lt;T&gt;, IFieldCodec&lt;TError&gt;)](/orleans/docs/api/csharp/microsoft.orleans.serialization.fsharp/orleans.serialization.fsharpresultcodec-2/constructors/constructor-orleans-serialization-codecs-ifieldcodec-t-orleans-serialization-cod-2c141362/)
