ClientBuilderExtensions.AddMemoryStreams Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- configure
- Action<IClusterClientMemoryStreamConfigurator>
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
- configure
- Action<ClusterClientMemoryStreamConfigurator<TSerializer>>