# Codec_AddAndThrowException.Deserialize(Reader&lt;TReaderInput&gt;, AddAndThrowException)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.codec-addandthrowexception/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.codec-addandthrowexception/methods/)

```csharp
public void Deserialize<TReaderInput>(ref Reader<TReaderInput> reader, AddAndThrowException instance)
```

Deserializes into the provided value.

### Parameters

- `reader` (`Reader<TReaderInput>`): The reader.
- `instance` (`AddAndThrowException`): The value.
