GlobalConfiguration.RegisterLogConsistencyProvider 方法

定义

重载

RegisterLogConsistencyProvider(String, String, IDictionary<String,String>)

注册给定日志一致性提供程序。

RegisterLogConsistencyProvider<T>(String, IDictionary<String,String>)

注册给定类型的 T 日志 T 一致性提供程序

RegisterLogConsistencyProvider(String, String, IDictionary<String,String>)

注册给定日志一致性提供程序。

public void RegisterLogConsistencyProvider (string providerTypeFullName, string providerName, System.Collections.Generic.IDictionary<string,string> properties = default);
member this.RegisterLogConsistencyProvider : string * string * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub RegisterLogConsistencyProvider (providerTypeFullName As String, providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)

参数

providerTypeFullName
String

日志一致性提供程序类型的全名

providerName
String

日志一致性提供程序的名称

properties
IDictionary<String,String>

初始化后传递给日志一致性提供程序的属性

适用于

RegisterLogConsistencyProvider<T>(String, IDictionary<String,String>)

注册给定类型的 T 日志 T 一致性提供程序

public void RegisterLogConsistencyProvider<T> (string providerName, System.Collections.Generic.IDictionary<string,string> properties = default) where T : Orleans.LogConsistency.ILogConsistencyProvider;
member this.RegisterLogConsistencyProvider : string * System.Collections.Generic.IDictionary<string, string> -> unit (requires 'T :> Orleans.LogConsistency.ILogConsistencyProvider)
Public Sub RegisterLogConsistencyProvider(Of T As ILogConsistencyProvider) (providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)

类型参数

T

实现 ILogConsistencyProvider 日志一致性存储接口的非抽象类型

参数

providerName
String

日志一致性提供程序的名称

properties
IDictionary<String,String>

初始化后传递给日志一致性提供程序的属性

适用于