ClientBuilderExtensions.AddMemoryStreams 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- configure
- Action<IClusterClientMemoryStreamConfigurator>
适用于
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
- configure
- Action<ClusterClientMemoryStreamConfigurator<TSerializer>>