MemoryGrainStorageFactory.Create(IServiceProvider, String) 方法

定义

创建一个新的 MemoryGrainStorage 实例。

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

参数

services
IServiceProvider

服务。

name
String

名称。

返回

存储区。

适用于