Redigera

Dela via


ClientBuilderExtensions.AddMemoryStreams Method

Definition

Overloads

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

Configure cluster client to use memory streams. This return a configurator for further configuration

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

Configure cluster client to use memory streams. This return a configurator for further configuration

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

Source:
ClientBuilderExtensions.cs

Configure cluster client to use memory streams. This return a configurator for further configuration

public static Orleans.IClientBuilder AddMemoryStreams<TSerializer> (this Orleans.IClientBuilder builder, string name, Action<Orleans.Hosting.IClusterClientMemoryStreamConfigurator> configure = default) where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer;
static member AddMemoryStreams : Orleans.IClientBuilder * string * Action<Orleans.Hosting.IClusterClientMemoryStreamConfigurator> -> Orleans.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

Parameters

builder
IClientBuilder
name
String

Applies to

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

Configure cluster client to use memory streams. This return a configurator for further configuration

public static Orleans.IClientBuilder AddMemoryStreams<TSerializer> (this Orleans.IClientBuilder builder, string name, Action<Orleans.Providers.ClusterClientMemoryStreamConfigurator<TSerializer>> configure = default) where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer;
static member AddMemoryStreams : Orleans.IClientBuilder * string * Action<Orleans.Providers.ClusterClientMemoryStreamConfigurator<'Serializer>> -> Orleans.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 ClusterClientMemoryStreamConfigurator(Of TSerializer)) = Nothing) As IClientBuilder

Type Parameters

TSerializer

Parameters

builder
IClientBuilder
name
String

Applies to