ITransactionCoordinatorGrain.MultiGrainAdd 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
MultiGrainAdd(List<ITransactionTestGrain>, Int32) | |
MultiGrainAdd(ITransactionCommitterTestGrain, ITransactionCommitOperation<IRemoteCommitService>, List<ITransactionTestGrain>, Int32) |
MultiGrainAdd(List<ITransactionTestGrain>, Int32)
[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
參數
- grains
- List<ITransactionTestGrain>
- numberToAdd
- Int32
傳回
- 屬性
適用於
MultiGrainAdd(ITransactionCommitterTestGrain, ITransactionCommitOperation<IRemoteCommitService>, List<ITransactionTestGrain>, Int32)
[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
參數
- committer
- ITransactionCommitterTestGrain
- operation
- ITransactionCommitOperation<IRemoteCommitService>
- grains
- List<ITransactionTestGrain>
- numberToAdd
- Int32
傳回
- 屬性