FaultInjectionGrainStorageFactory.Create 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.
Creates a new FaultInjectionGrainStorage instance.
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
Parameters
- services
- IServiceProvider
The services.
- name
- String
The storage provider name.
- injectedGrainStorageFactory
- Func<IServiceProvider,String,IGrainStorage>
The injected grain storage factory.
Returns
The new instance.