共用方式為


TransactionCoordinatorGrain.MultiGrainAdd 方法

定義

多載

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

MultiGrainAdd(List<ITransactionTestGrain>, Int32)

來源:
TransactionCoordinatorGrain.cs
public System.Threading.Tasks.Task MultiGrainAdd (System.Collections.Generic.List<Orleans.Transactions.TestKit.ITransactionTestGrain> grains, int numberToAdd);
abstract member MultiGrainAdd : System.Collections.Generic.List<Orleans.Transactions.TestKit.ITransactionTestGrain> * int -> System.Threading.Tasks.Task
override this.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)

來源:
TransactionCoordinatorGrain.cs
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);
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
override this.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

傳回

實作

適用於