GlobalConfiguration.RegisterStorageProvider 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
RegisterStorageProvider(String, String, IDictionary<String,String>) |
Registers a given storage provider. |
RegisterStorageProvider<T>(String, IDictionary<String,String>) |
Registers a given type of |
RegisterStorageProvider(String, String, IDictionary<String,String>)
Registers a given storage provider.
public void RegisterStorageProvider (string providerTypeFullName, string providerName, System.Collections.Generic.IDictionary<string,string> properties = default);
member this.RegisterStorageProvider : string * string * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub RegisterStorageProvider (providerTypeFullName As String, providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)
Parameters
- providerTypeFullName
- String
Full name of the storage provider type
- providerName
- String
Name of the storage provider
- properties
- IDictionary<String,String>
Properties that will be passed to the storage provider upon initialization
Applies to
RegisterStorageProvider<T>(String, IDictionary<String,String>)
Registers a given type of T
where T
is storage provider
public void RegisterStorageProvider<T> (string providerName, System.Collections.Generic.IDictionary<string,string> properties = default) where T : Orleans.Storage.IStorageProvider;
member this.RegisterStorageProvider : string * System.Collections.Generic.IDictionary<string, string> -> unit (requires 'T :> Orleans.Storage.IStorageProvider)
Public Sub RegisterStorageProvider(Of T As IStorageProvider) (providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)
Type Parameters
- T
Non-abstract type which implements IStorageProvider storage
Parameters
- providerName
- String
Name of the storage provider
- properties
- IDictionary<String,String>
Properties that will be passed to storage provider upon initialization