Compartilhar via


FaultInjectionGrainStorageFactory.Create Método

Definição

Cria uma nova instância FaultInjectionGrainStorage.

public static Orleans.Storage.IGrainStorage Create (IServiceProvider services, string name, Func<IServiceProvider,string,Orleans.Storage.IGrainStorage> injectedGrainStorageFactory);
static member Create : IServiceProvider * string * Func<IServiceProvider, string, Orleans.Storage.IGrainStorage> -> Orleans.Storage.IGrainStorage
Public Shared Function Create (services As IServiceProvider, name As String, injectedGrainStorageFactory As Func(Of IServiceProvider, String, IGrainStorage)) As IGrainStorage

Parâmetros

services
IServiceProvider

Os serviços.

name
String

O nome do provedor de armazenamento.

injectedGrainStorageFactory
Func<IServiceProvider,String,IGrainStorage>

A fábrica de armazenamento de granularidade injetada.

Retornos

A nova instância.

Aplica-se a