# OrleansJsonSerializationBinder Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.serialization.orleansjsonserializationbinder/)

## BindToType(string, string) {#bindtotype-string-string-11e8032f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.serialization.orleansjsonserializationbinder/methods/bindtotype-string-string-11e8032f/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Serialization/OrleansJsonSerializationBinder.cs#L27-L30)

```csharp
public override Type BindToType(string assemblyName, string typeName)
```

When overridden in a derived class, controls the binding of a serialized object to a type.

### Parameters

- `assemblyName` (`string`): Specifies the `System.Reflection.Assembly` name of the serialized object.
- `typeName` (`string`): Specifies the `System.Type` name of the serialized object.

### Returns

The type of the object the formatter creates a new instance of.
