ClientStreamExtensions.AddSimpleMessageStreamProvider 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddSimpleMessageStreamProvider(IClientBuilder, String, Action<OptionsBuilder<SimpleMessageStreamProviderOptions>>) |
将客户端配置为使用 SimpleMessageProvider |
AddSimpleMessageStreamProvider(IClientBuilder, String, Action<SimpleMessageStreamProviderOptions>) |
将客户端配置为使用 SimpleMessageProvider |
AddSimpleMessageStreamProvider(IClientBuilder, String, Action<ISimpleMessageStreamConfigurator>) |
将客户端配置为使用 SimpleMessageProvider |
AddSimpleMessageStreamProvider(IClientBuilder, String, Action<OptionsBuilder<SimpleMessageStreamProviderOptions>>)
- Source:
- ClientStreamExtensions.cs
将客户端配置为使用 SimpleMessageProvider
public static Orleans.IClientBuilder AddSimpleMessageStreamProvider (this Orleans.IClientBuilder builder, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.SimpleMessageStreamProviderOptions>> configureOptions = default);
static member AddSimpleMessageStreamProvider : Orleans.IClientBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.SimpleMessageStreamProviderOptions>> -> Orleans.IClientBuilder
<Extension()>
Public Function AddSimpleMessageStreamProvider (builder As IClientBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of SimpleMessageStreamProviderOptions)) = Nothing) As IClientBuilder
参数
- builder
- IClientBuilder
- name
- String
- configureOptions
- Action<OptionsBuilder<SimpleMessageStreamProviderOptions>>
返回
适用于
AddSimpleMessageStreamProvider(IClientBuilder, String, Action<SimpleMessageStreamProviderOptions>)
- Source:
- ClientStreamExtensions.cs
将客户端配置为使用 SimpleMessageProvider
public static Orleans.IClientBuilder AddSimpleMessageStreamProvider (this Orleans.IClientBuilder builder, string name, Action<Orleans.Configuration.SimpleMessageStreamProviderOptions> configureOptions);
static member AddSimpleMessageStreamProvider : Orleans.IClientBuilder * string * Action<Orleans.Configuration.SimpleMessageStreamProviderOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function AddSimpleMessageStreamProvider (builder As IClientBuilder, name As String, configureOptions As Action(Of SimpleMessageStreamProviderOptions)) As IClientBuilder
参数
- builder
- IClientBuilder
- name
- String
- configureOptions
- Action<SimpleMessageStreamProviderOptions>
返回
适用于
AddSimpleMessageStreamProvider(IClientBuilder, String, Action<ISimpleMessageStreamConfigurator>)
- Source:
- ClientStreamExtensions.cs
将客户端配置为使用 SimpleMessageProvider
public static Orleans.IClientBuilder AddSimpleMessageStreamProvider (this Orleans.IClientBuilder builder, string name, Action<Orleans.Hosting.ISimpleMessageStreamConfigurator> configureStream);
static member AddSimpleMessageStreamProvider : Orleans.IClientBuilder * string * Action<Orleans.Hosting.ISimpleMessageStreamConfigurator> -> Orleans.IClientBuilder
<Extension()>
Public Function AddSimpleMessageStreamProvider (builder As IClientBuilder, name As String, configureStream As Action(Of ISimpleMessageStreamConfigurator)) As IClientBuilder
参数
- builder
- IClientBuilder
- name
- String
- configureStream
- Action<ISimpleMessageStreamConfigurator>