AzureTableTransactionalStateStorageFactory.Create Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Create(IServiceProvider, String) | |
Create<TState>(String, IGrainActivationContext) | |
Create<TState>(String, IGrainContext) |
Create(IServiceProvider, String)
public static Orleans.Transactions.Abstractions.ITransactionalStateStorageFactory Create (IServiceProvider services, string name);
static member Create : IServiceProvider * string -> Orleans.Transactions.Abstractions.ITransactionalStateStorageFactory
Public Shared Function Create (services As IServiceProvider, name As String) As ITransactionalStateStorageFactory
Paramètres
- services
- IServiceProvider
- name
- String
Retours
S’applique à
Create<TState>(String, IGrainActivationContext)
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))
override this.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)
Paramètres de type
- TState
Paramètres
- stateName
- String
- context
- IGrainActivationContext
Retours
Implémente
S’applique à
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))
override this.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)
Paramètres de type
- TState
Paramètres
- stateName
- String
- context
- IGrainContext