GlobalConfiguration.RegisterBootstrapProvider 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RegisterBootstrapProvider(String, String, IDictionary<String,String>) |
注册给定的启动提供程序。 |
RegisterBootstrapProvider<T>(String, IDictionary<String,String>) |
注册给定类型的 |
RegisterBootstrapProvider(String, String, IDictionary<String,String>)
注册给定的启动提供程序。
public void RegisterBootstrapProvider (string providerTypeFullName, string providerName, System.Collections.Generic.IDictionary<string,string> properties = default);
member this.RegisterBootstrapProvider : string * string * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub RegisterBootstrapProvider (providerTypeFullName As String, providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)
参数
- providerTypeFullName
- String
启动提供程序类型的全名
- providerName
- String
启动提供程序的名称
- properties
- IDictionary<String,String>
初始化后传递给引导提供程序的属性
适用于
RegisterBootstrapProvider<T>(String, IDictionary<String,String>)
注册给定类型的 T
启动 T
提供程序
public void RegisterBootstrapProvider<T> (string providerName, System.Collections.Generic.IDictionary<string,string> properties = default) where T : Orleans.Providers.IBootstrapProvider;
member this.RegisterBootstrapProvider : string * System.Collections.Generic.IDictionary<string, string> -> unit (requires 'T :> Orleans.Providers.IBootstrapProvider)
Public Sub RegisterBootstrapProvider(Of T As IBootstrapProvider) (providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)
类型参数
- T
实现 IBootstrapProvider 接口的非抽象类型
参数
- providerName
- String
启动提供程序的名称
- properties
- IDictionary<String,String>
初始化后传递给启动提供程序的属性