共用方式為


ITransactionCoordinatorGrain.MultiGrainAdd 方法

定義

多載

MultiGrainAdd(List<ITransactionTestGrain>, Int32)
MultiGrainAdd(ITransactionCommitterTestGrain, ITransactionCommitOperation<IRemoteCommitService>, List<ITransactionTestGrain>, Int32)

MultiGrainAdd(List<ITransactionTestGrain>, Int32)

來源:
ITransactionCoordinatorGrain.cs
[Orleans.Transaction(Orleans.TransactionOption.Create)]
public System.Threading.Tasks.Task MultiGrainAdd (System.Collections.Generic.List<Orleans.Transactions.TestKit.ITransactionTestGrain> grains, int numberToAdd);
[<Orleans.Transaction(Orleans.TransactionOption.Create)>]
abstract member MultiGrainAdd : System.Collections.Generic.List<Orleans.Transactions.TestKit.ITransactionTestGrain> * int -> System.Threading.Tasks.Task
Public Function MultiGrainAdd (grains As List(Of ITransactionTestGrain), numberToAdd As Integer) As Task

參數

numberToAdd
Int32

傳回

屬性

適用於

MultiGrainAdd(ITransactionCommitterTestGrain, ITransactionCommitOperation<IRemoteCommitService>, List<ITransactionTestGrain>, Int32)

來源:
ITransactionCoordinatorGrain.cs
[Orleans.Transaction(Orleans.TransactionOption.Create)]
public System.Threading.Tasks.Task MultiGrainAdd (Orleans.Transactions.TestKit.ITransactionCommitterTestGrain committer, Orleans.Transactions.Abstractions.ITransactionCommitOperation<Orleans.Transactions.TestKit.IRemoteCommitService> operation, System.Collections.Generic.List<Orleans.Transactions.TestKit.ITransactionTestGrain> grains, int numberToAdd);
[<Orleans.Transaction(Orleans.TransactionOption.Create)>]
abstract member MultiGrainAdd : Orleans.Transactions.TestKit.ITransactionCommitterTestGrain * Orleans.Transactions.Abstractions.ITransactionCommitOperation<Orleans.Transactions.TestKit.IRemoteCommitService> * System.Collections.Generic.List<Orleans.Transactions.TestKit.ITransactionTestGrain> * int -> System.Threading.Tasks.Task
Public Function MultiGrainAdd (committer As ITransactionCommitterTestGrain, operation As ITransactionCommitOperation(Of IRemoteCommitService), grains As List(Of ITransactionTestGrain), numberToAdd As Integer) As Task

參數

numberToAdd
Int32

傳回

屬性

適用於