GrainStorageExtensions.GetGrainStorage 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.
Overloads
GetGrainStorage(Grain, IServiceProvider) |
Acquire the storage provider associated with the grain type. |
GetGrainStorage(Type, IServiceProvider) |
Aquire the storage provider associated with the grain type. |
GetGrainStorage(Grain, IServiceProvider)
- Source:
- GrainStorageExtensions.cs
Acquire the storage provider associated with the grain type.
public static Orleans.Storage.IGrainStorage GetGrainStorage (this Orleans.Grain grain, IServiceProvider services);
static member GetGrainStorage : Orleans.Grain * IServiceProvider -> Orleans.Storage.IGrainStorage
<Extension()>
Public Function GetGrainStorage (grain As Grain, services As IServiceProvider) As IGrainStorage
Parameters
- grain
- Grain
- services
- IServiceProvider
Returns
Applies to
GetGrainStorage(Type, IServiceProvider)
- Source:
- GrainStorageExtensions.cs
Aquire the storage provider associated with the grain type.
public static Orleans.Storage.IGrainStorage GetGrainStorage (this Type grainType, IServiceProvider services);
static member GetGrainStorage : Type * IServiceProvider -> Orleans.Storage.IGrainStorage
<Extension()>
Public Function GetGrainStorage (grainType As Type, services As IServiceProvider) As IGrainStorage
Parameters
- grainType
- Type
- services
- IServiceProvider