GrainStorageExtensions.GetGrainStorage 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetGrainStorage(Grain, IServiceProvider) |
获取与粒度类型关联的存储提供程序。 |
GetGrainStorage(Type, IServiceProvider) |
获取与粒度类型关联的存储提供程序。 |
GetGrainStorage(Grain, IServiceProvider)
- Source:
- GrainStorageExtensions.cs
获取与粒度类型关联的存储提供程序。
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
参数
- grain
- Grain
- services
- IServiceProvider
返回
适用于
GetGrainStorage(Type, IServiceProvider)
- Source:
- GrainStorageExtensions.cs
获取与粒度类型关联的存储提供程序。
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
参数
- grainType
- Type
- services
- IServiceProvider