FaultInjectionStorageProvider<TStorage>.Init 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.
Initializes the decorated storage provider.
public System.Threading.Tasks.Task Init (string name, Orleans.Providers.IProviderRuntime providerRuntime, Orleans.Providers.IProviderConfiguration config);
abstract member Init : string * Orleans.Providers.IProviderRuntime * Orleans.Providers.IProviderConfiguration -> System.Threading.Tasks.Task
override this.Init : string * Orleans.Providers.IProviderRuntime * Orleans.Providers.IProviderConfiguration -> System.Threading.Tasks.Task
Public Function Init (name As String, providerRuntime As IProviderRuntime, config As IProviderConfiguration) As Task
Parameters
- name
- String
Name assigned for this provider
- providerRuntime
- IProviderRuntime
Callback for accessing system functions in the Provider Runtime
- config
- IProviderConfiguration
Configuration metadata to be used for this provider instance
Returns
Completion promise Task for the inttialization work for this provider