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

适用于