ClientBuilderExtensions.AddMemoryStreams 方法

定义

重载

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

将群集客户端配置为使用内存流。 这会返回用于进一步配置的配置器

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

将群集客户端配置为使用内存流。 这会返回用于进一步配置的配置器

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

Source:
ClientBuilderExtensions.cs

将群集客户端配置为使用内存流。 这会返回用于进一步配置的配置器

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

类型参数

TSerializer

参数

builder
IClientBuilder
name
String

适用于

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

将群集客户端配置为使用内存流。 这会返回用于进一步配置的配置器

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

类型参数

TSerializer

参数

builder
IClientBuilder
name
String

适用于