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
返回
- 属性