次の方法で共有


ITransactionalStateStorageFactory.Create メソッド

定義

オーバーロード

Create<TState>(String, IGrainActivationContext)
Create<TState>(String, IGrainContext)

Create<TState>(String, IGrainActivationContext)

ソース:
ITransactionalStateStorageFactory.cs
public Orleans.Transactions.Abstractions.ITransactionalStateStorage<TState> Create<TState> (string stateName, Orleans.Runtime.IGrainActivationContext context) where TState : class, new();
abstract member Create : string * Orleans.Runtime.IGrainActivationContext -> Orleans.Transactions.Abstractions.ITransactionalStateStorage<'State (requires 'State : null and 'State : (new : unit -> 'State))> (requires 'State : null and 'State : (new : unit -> 'State))
Public Function Create(Of TState As {Class, New}) (stateName As String, context As IGrainActivationContext) As ITransactionalStateStorage(Of TState)

型パラメーター

TState

パラメーター

stateName
String

戻り値

適用対象

Create<TState>(String, IGrainContext)

public Orleans.Transactions.Abstractions.ITransactionalStateStorage<TState> Create<TState> (string stateName, Orleans.Runtime.IGrainContext context) where TState : class, new();
abstract member Create : string * Orleans.Runtime.IGrainContext -> Orleans.Transactions.Abstractions.ITransactionalStateStorage<'State (requires 'State : null and 'State : (new : unit -> 'State))> (requires 'State : null and 'State : (new : unit -> 'State))
Public Function Create(Of TState As {Class, New}) (stateName As String, context As IGrainContext) As ITransactionalStateStorage(Of TState)

型パラメーター

TState

パラメーター

stateName
String
context
IGrainContext

戻り値

適用対象