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>