共用方式為


PersistentStreamConfiguratorExtensions.ConfigureStreamPubSub 方法

定義

設定資料流程 pub/sub 類型。

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

要使用的資料流程 pub/sub 類型。

適用於