Freigeben über


ClientBuilderStreamingExtensions.AddMemoryStreams Methode

Definition

Überlädt

AddMemoryStreams(IClientBuilder, String, Action<IClusterClientMemoryStreamConfigurator>)

Fügt dem Client mithilfe des Standardmäßigen Nachrichtenserialisierungsprogramms (DefaultMemoryMessageBodySerializer) einen neuen In-Memory-Streamanbieter hinzu.

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

Fügt dem Client einen neuen In-Memory-Streamanbieter hinzu.

AddMemoryStreams(IClientBuilder, String, Action<IClusterClientMemoryStreamConfigurator>)

Fügt dem Client mithilfe des Standardmäßigen Nachrichtenserialisierungsprogramms (DefaultMemoryMessageBodySerializer) einen neuen In-Memory-Streamanbieter hinzu.

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

Parameter

builder
IClientBuilder

Der Generator.

name
String

Der Name des Streamanbieters.

configure
Action<IClusterClientMemoryStreamConfigurator>

Der Konfigurationsdelegat.

Gibt zurück

Der Client-Generator.

Gilt für:

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

Fügt dem Client einen neuen In-Memory-Streamanbieter hinzu.

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

Typparameter

TSerializer

Der Typ des t-Serialisierungsprogramms.

Parameter

builder
IClientBuilder

Der Generator.

name
String

Der Name des Streamanbieters.

configure
Action<IClusterClientMemoryStreamConfigurator>

Der Konfigurationsdelegat.

Gibt zurück

Der Client-Generator.

Gilt für: