StreamHostingExtensions.AddSiloSimpleMessageStreamProvider 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- services
- IServiceCollection
- name
- String
- configureOptions
- Action<OptionsBuilder<SimpleMessageStreamProviderOptions>>
傳回
適用於
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
參數
- services
- IServiceCollection
- name
- String
- configureOptions
- Action<SimpleMessageStreamProviderOptions>