# ClusterClientMemoryStreamConfigurator&lt;TSerializer&gt;

Package: [Microsoft.Orleans.Streaming](/orleans/docs/api/csharp/microsoft.orleans.streaming/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/MemoryStreams/MemoryStreamBuilder.cs#L63)

```csharp
public class ClusterClientMemoryStreamConfigurator<TSerializer> : ClusterClientPersistentStreamConfigurator, IClusterClientMemoryStreamConfigurator, IClusterClientPersistentStreamConfigurator, IMemoryStreamConfigurator, INamedServiceConfigurator, IPersistentStreamConfigurator
    where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer
```

Configures memory streams.

## Type parameters

- `TSerializer`: The message body serializer type, which must implement [IMemoryMessageBodySerializer](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.imemorymessagebodyserializer/).

## Constructors

- [ClusterClientMemoryStreamConfigurator&lt;TSerializer&gt;(string, IClientBuilder)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.clusterclientmemorystreamconfigurator-1/constructors/constructor-string-orleans-hosting-iclientbuilder-2342f631/)
