共用方式為


StreamHostingExtensions.AddSiloSimpleMessageStreamProvider 方法

定義

多載

AddSiloSimpleMessageStreamProvider(IServiceCollection, String, Action<OptionsBuilder<SimpleMessageStreamProviderOptions>>)

設定定址接收器以使用簡單的訊息提供者

AddSiloSimpleMessageStreamProvider(IServiceCollection, String, Action<SimpleMessageStreamProviderOptions>)

設定定址接收器以使用簡單的訊息串流提供者

AddSiloSimpleMessageStreamProvider(IServiceCollection, String, Action<OptionsBuilder<SimpleMessageStreamProviderOptions>>)

設定定址接收器以使用簡單的訊息提供者

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSiloSimpleMessageStreamProvider (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.SimpleMessageStreamProviderOptions>> configureOptions = default);
static member AddSiloSimpleMessageStreamProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.SimpleMessageStreamProviderOptions>> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddSiloSimpleMessageStreamProvider (services As IServiceCollection, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of SimpleMessageStreamProviderOptions)) = Nothing) As IServiceCollection

參數

name
String

傳回

適用於

AddSiloSimpleMessageStreamProvider(IServiceCollection, String, Action<SimpleMessageStreamProviderOptions>)

設定定址接收器以使用簡單的訊息串流提供者

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSiloSimpleMessageStreamProvider (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Orleans.Configuration.SimpleMessageStreamProviderOptions> configureOptions = default);
static member AddSiloSimpleMessageStreamProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Orleans.Configuration.SimpleMessageStreamProviderOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddSiloSimpleMessageStreamProvider (services As IServiceCollection, name As String, Optional configureOptions As Action(Of SimpleMessageStreamProviderOptions) = Nothing) As IServiceCollection

參數

name
String

傳回

適用於