SiloBuilderExtensions.AddMemoryStreams Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddMemoryStreams<TSerializer>(ISiloBuilder, String, Action<SiloMemoryStreamConfigurator<TSerializer>>) |
Configurez le silo pour utiliser des flux de mémoire. |
AddMemoryStreams<TSerializer>(ISiloHostBuilder, String, Action<SiloMemoryStreamConfigurator<TSerializer>>) |
Configurez le silo pour utiliser des flux de mémoire. |
AddMemoryStreams<TSerializer>(ISiloBuilder, String, Action<SiloMemoryStreamConfigurator<TSerializer>>)
Configurez le silo pour utiliser des flux de mémoire.
public static Orleans.Hosting.ISiloBuilder AddMemoryStreams<TSerializer> (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Orleans.Providers.SiloMemoryStreamConfigurator<TSerializer>> configure = default) where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer;
static member AddMemoryStreams : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Providers.SiloMemoryStreamConfigurator<'Serializer>> -> Orleans.Hosting.ISiloBuilder (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)
<Extension()>
Public Function AddMemoryStreams(Of TSerializer As {Class, IMemoryMessageBodySerializer}) (builder As ISiloBuilder, name As String, Optional configure As Action(Of SiloMemoryStreamConfigurator(Of TSerializer)) = Nothing) As ISiloBuilder
Paramètres de type
- TSerializer
Paramètres
- builder
- ISiloBuilder
- name
- String
- configure
- Action<SiloMemoryStreamConfigurator<TSerializer>>
S’applique à
AddMemoryStreams<TSerializer>(ISiloHostBuilder, String, Action<SiloMemoryStreamConfigurator<TSerializer>>)
Configurez le silo pour utiliser des flux de mémoire.
public static Orleans.Hosting.ISiloHostBuilder AddMemoryStreams<TSerializer> (this Orleans.Hosting.ISiloHostBuilder builder, string name, Action<Orleans.Providers.SiloMemoryStreamConfigurator<TSerializer>> configure = default) where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer;
static member AddMemoryStreams : Orleans.Hosting.ISiloHostBuilder * string * Action<Orleans.Providers.SiloMemoryStreamConfigurator<'Serializer>> -> Orleans.Hosting.ISiloHostBuilder (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)
<Extension()>
Public Function AddMemoryStreams(Of TSerializer As {Class, IMemoryMessageBodySerializer}) (builder As ISiloHostBuilder, name As String, Optional configure As Action(Of SiloMemoryStreamConfigurator(Of TSerializer)) = Nothing) As ISiloHostBuilder
Paramètres de type
- TSerializer
Paramètres
- builder
- ISiloHostBuilder
- name
- String
- configure
- Action<SiloMemoryStreamConfigurator<TSerializer>>