Edytuj

Udostępnij za pośrednictwem


FaultInjectionStorageProvider<TStorage>.Init Method

Definition

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

Implements

Applies to