Redigera

Dela via


IProvider.Init(String, IProviderRuntime, IProviderConfiguration) Method

Definition

Initialization function called by Orleans Provider Manager when a new provider class instance is created

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
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

Applies to