PersistentStreamConfiguratorExtensions.ConfigureStreamPubSub 方法

定义

配置流发布/订阅类型。

public static void ConfigureStreamPubSub (this Orleans.Hosting.IPersistentStreamConfigurator configurator, Orleans.Streams.StreamPubSubType pubsubType = Orleans.Streams.StreamPubSubType.ExplicitGrainBasedAndImplicit);
static member ConfigureStreamPubSub : Orleans.Hosting.IPersistentStreamConfigurator * Orleans.Streams.StreamPubSubType -> unit
<Extension()>
Public Sub ConfigureStreamPubSub (configurator As IPersistentStreamConfigurator, Optional pubsubType As StreamPubSubType = Orleans.Streams.StreamPubSubType.ExplicitGrainBasedAndImplicit)

参数

configurator
IPersistentStreamConfigurator

配置生成器。

pubsubType
StreamPubSubType

要使用的流发布/订阅类型。

适用于