共用方式為


LogConsistencyConfigurationExtensions.AddCustomStorageInterfaceBasedLogConsistencyProvider 方法

定義

新增類型的記錄一致性提供者 LogConsistencyProvider

public static void AddCustomStorageInterfaceBasedLogConsistencyProvider (this Orleans.Runtime.Configuration.ClusterConfiguration config, string providerName = "LogStorage", string primaryCluster = default);
static member AddCustomStorageInterfaceBasedLogConsistencyProvider : Orleans.Runtime.Configuration.ClusterConfiguration * string * string -> unit
<Extension()>
Public Sub AddCustomStorageInterfaceBasedLogConsistencyProvider (config As ClusterConfiguration, Optional providerName As String = "LogStorage", Optional primaryCluster As String = Nothing)

參數

config
ClusterConfiguration

要加入提供者的叢集組態物件。

providerName
String

提供者名稱。

primaryCluster
String

適用於