TransactionCommitter<TService> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
TransactionCommitter<TService>(ITransactionCommitterConfiguration, IGrainActivationContext, ITransactionDataCopier<TransactionCommitter<TService>.OperationState>, IGrainRuntime, ILogger<TransactionCommitter<TService>>)
public TransactionCommitter (Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration config, Orleans.Runtime.IGrainActivationContext context, Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<TService>.OperationState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionCommitter<TService>> logger);
new Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)> : Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration * Orleans.Runtime.IGrainActivationContext * Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<'Service>.OperationState> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionCommitter<'Service>> -> Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)>
Public Sub New (config As ITransactionCommitterConfiguration, context As IGrainActivationContext, copier As ITransactionDataCopier(Of TransactionCommitter(Of TService).OperationState), grainRuntime As IGrainRuntime, logger As ILogger(Of TransactionCommitter(Of TService)))
參數
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TransactionCommitter<TService>.OperationState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionCommitter<TService>>
適用於
TransactionCommitter<TService>(ITransactionCommitterConfiguration, IGrainActivationContext, ITransactionDataCopier<TransactionCommitter<TService>.OperationState>, IGrainRuntime, ILoggerFactory)
public TransactionCommitter (Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration config, Orleans.Runtime.IGrainActivationContext context, Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<TService>.OperationState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)> : Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration * Orleans.Runtime.IGrainActivationContext * Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<'Service>.OperationState> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)>
Public Sub New (config As ITransactionCommitterConfiguration, context As IGrainActivationContext, copier As ITransactionDataCopier(Of TransactionCommitter(Of TService).OperationState), grainRuntime As IGrainRuntime, loggerFactory As ILoggerFactory)
參數
- context
- IGrainActivationContext
- copier
- ITransactionDataCopier<TransactionCommitter<TService>.OperationState>
- grainRuntime
- IGrainRuntime
- loggerFactory
- ILoggerFactory
適用於
TransactionCommitter<TService>(ITransactionCommitterConfiguration, IGrainContextAccessor, ITransactionDataCopier<TransactionCommitter<TService>.OperationState>, IGrainRuntime, ILogger<TransactionCommitter<TService>>)
public TransactionCommitter (Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration config, Orleans.Runtime.IGrainContextAccessor contextAccessor, Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<TService>.OperationState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionCommitter<TService>> logger);
new Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)> : Orleans.Transactions.Abstractions.ITransactionCommitterConfiguration * Orleans.Runtime.IGrainContextAccessor * Orleans.Transactions.Abstractions.ITransactionDataCopier<Orleans.Transactions.TransactionCommitter<'Service>.OperationState> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionCommitter<'Service>> -> Orleans.Transactions.TransactionCommitter<'Service (requires 'Service : null)>
Public Sub New (config As ITransactionCommitterConfiguration, contextAccessor As IGrainContextAccessor, copier As ITransactionDataCopier(Of TransactionCommitter(Of TService).OperationState), grainRuntime As IGrainRuntime, logger As ILogger(Of TransactionCommitter(Of TService)))
參數
- contextAccessor
- IGrainContextAccessor
- copier
- ITransactionDataCopier<TransactionCommitter<TService>.OperationState>
- grainRuntime
- IGrainRuntime
- logger
- ILogger<TransactionCommitter<TService>>