Edit

Share via


ClientBuilderStreamingExtensions.AddMemoryStreams Method

Definition

Overloads

AddMemoryStreams(IClientBuilder, String, Action<IClusterClientMemoryStreamConfigurator>)

Adds a new in-memory stream provider to the client, using the default message serializer (DefaultMemoryMessageBodySerializer).

AddMemoryStreams<TSerializer>(IClientBuilder, String, Action<IClusterClientMemoryStreamConfigurator>)

Adds a new in-memory stream provider to the client.

AddMemoryStreams(IClientBuilder, String, Action<IClusterClientMemoryStreamConfigurator>)

Adds a new in-memory stream provider to the client, using the default message serializer (DefaultMemoryMessageBodySerializer).

public static Orleans.Hosting.IClientBuilder AddMemoryStreams (this Orleans.Hosting.IClientBuilder builder, string name, Action<Orleans.Hosting.IClusterClientMemoryStreamConfigurator> configure = default);
static member AddMemoryStreams : Orleans.Hosting.IClientBuilder * string * Action<Orleans.Hosting.IClusterClientMemoryStreamConfigurator> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddMemoryStreams (builder As IClientBuilder, name As String, Optional configure As Action(Of IClusterClientMemoryStreamConfigurator) = Nothing) As IClientBuilder

Parameters

builder
IClientBuilder

The builder.

name
String

The stream provider name.

configure
Action<IClusterClientMemoryStreamConfigurator>

The configuration delegate.

Returns

The client builder.

Applies to

AddMemoryStreams<TSerializer>(IClientBuilder, String, Action<IClusterClientMemoryStreamConfigurator>)

Adds a new in-memory stream provider to the client.

public static Orleans.Hosting.IClientBuilder AddMemoryStreams<TSerializer> (this Orleans.Hosting.IClientBuilder builder, string name, Action<Orleans.Hosting.IClusterClientMemoryStreamConfigurator> configure = default) where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer;
static member AddMemoryStreams : Orleans.Hosting.IClientBuilder * string * Action<Orleans.Hosting.IClusterClientMemoryStreamConfigurator> -> Orleans.Hosting.IClientBuilder (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)
<Extension()>
Public Function AddMemoryStreams(Of TSerializer As {Class, IMemoryMessageBodySerializer}) (builder As IClientBuilder, name As String, Optional configure As Action(Of IClusterClientMemoryStreamConfigurator) = Nothing) As IClientBuilder

Type Parameters

TSerializer

The type of the t serializer.

Parameters

builder
IClientBuilder

The builder.

name
String

The stream provider name.

configure
Action<IClusterClientMemoryStreamConfigurator>

The configuration delegate.

Returns

The client builder.

Applies to