BootstrapProviderConfiguration.RegisterBootstrapProvider Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RegisterBootstrapProvider(GlobalConfiguration, String, String, IDictionary<String,String>) |
Registers a given bootstrap provider. |
RegisterBootstrapProvider<T>(GlobalConfiguration, String, IDictionary<String,String>) |
Registers a given type of |
RegisterBootstrapProvider(GlobalConfiguration, String, String, IDictionary<String,String>)
Registers a given bootstrap provider.
public static void RegisterBootstrapProvider (this Orleans.Runtime.Configuration.GlobalConfiguration config, string providerTypeFullName, string providerName, System.Collections.Generic.IDictionary<string,string> properties = default);
static member RegisterBootstrapProvider : Orleans.Runtime.Configuration.GlobalConfiguration * string * string * System.Collections.Generic.IDictionary<string, string> -> unit
<Extension()>
Public Sub RegisterBootstrapProvider (config As GlobalConfiguration, providerTypeFullName As String, providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)
Parameters
- config
- GlobalConfiguration
Configuration object
- providerTypeFullName
- String
Full name of the bootstrap provider type
- providerName
- String
Name of the bootstrap provider
- properties
- IDictionary<String,String>
Properties that will be passed to the bootstrap provider upon initialization
Applies to
RegisterBootstrapProvider<T>(GlobalConfiguration, String, IDictionary<String,String>)
Registers a given type of T
where T
is bootstrap provider
public static void RegisterBootstrapProvider<T> (this Orleans.Runtime.Configuration.GlobalConfiguration config, string providerName, System.Collections.Generic.IDictionary<string,string> properties = default) where T : Orleans.Providers.IBootstrapProvider;
static member RegisterBootstrapProvider : Orleans.Runtime.Configuration.GlobalConfiguration * string * System.Collections.Generic.IDictionary<string, string> -> unit (requires 'T :> Orleans.Providers.IBootstrapProvider)
<Extension()>
Public Sub RegisterBootstrapProvider(Of T As IBootstrapProvider) (config As GlobalConfiguration, providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)
Type Parameters
- T
Non-abstract type which implements IBootstrapProvider interface
Parameters
- config
- GlobalConfiguration
Configuration object
- providerName
- String
Name of the bootstrap provider
- properties
- IDictionary<String,String>
Properties that will be passed to bootstrap provider upon initialization