共用方式為


MemoryAdapterFactory<TSerializer>.Create 方法

定義

建立新的 MemoryAdapterFactory<TSerializer> 執行個體。

public static Orleans.Providers.MemoryAdapterFactory<TSerializer> Create (IServiceProvider services, string name);
static member Create : IServiceProvider * string -> Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Shared Function Create (services As IServiceProvider, name As String) As MemoryAdapterFactory(Of TSerializer)

參數

services
IServiceProvider

服務。

name
String

提供者名稱。

傳回

mew MemoryAdapterFactory<TSerializer> 實例。

適用於