Compartilhar via


ClientBuilderStreamingExtensions.AddMemoryStreams Método

Definição

Sobrecargas

AddMemoryStreams(IClientBuilder, String, Action<IClusterClientMemoryStreamConfigurator>)

Adiciona um novo provedor de fluxo na memória ao cliente, usando o serializador de mensagens padrão (DefaultMemoryMessageBodySerializer).

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

Adiciona um novo provedor de fluxo na memória ao cliente.

AddMemoryStreams(IClientBuilder, String, Action<IClusterClientMemoryStreamConfigurator>)

Adiciona um novo provedor de fluxo na memória ao cliente, usando o serializador de mensagens padrão (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

Parâmetros

builder
IClientBuilder

O construtor.

name
String

O nome do provedor de fluxo.

configure
Action<IClusterClientMemoryStreamConfigurator>

O delegado de configuração.

Retornos

O construtor de clientes.

Aplica-se a

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

Adiciona um novo provedor de fluxo na memória ao cliente.

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

Parâmetros de tipo

TSerializer

O tipo do serializador t.

Parâmetros

builder
IClientBuilder

O construtor.

name
String

O nome do provedor de fluxo.

configure
Action<IClusterClientMemoryStreamConfigurator>

O delegado de configuração.

Retornos

O construtor de clientes.

Aplica-se a