Поделиться через


IFaultInjectionTransactionCoordinatorGrain.MultiGrainAddAndFaultInjection Метод

Определение

[Orleans.Transaction(Orleans.TransactionOption.Create)]
public System.Threading.Tasks.Task MultiGrainAddAndFaultInjection (System.Collections.Generic.List<Orleans.Transactions.TestKit.IFaultInjectionTransactionTestGrain> grains, int numberToAdd, Orleans.Transactions.TestKit.FaultInjectionControl faultInjection = default);
[<Orleans.Transaction(Orleans.TransactionOption.Create)>]
abstract member MultiGrainAddAndFaultInjection : System.Collections.Generic.List<Orleans.Transactions.TestKit.IFaultInjectionTransactionTestGrain> * int * Orleans.Transactions.TestKit.FaultInjectionControl -> System.Threading.Tasks.Task
Public Function MultiGrainAddAndFaultInjection (grains As List(Of IFaultInjectionTransactionTestGrain), numberToAdd As Integer, Optional faultInjection As FaultInjectionControl = Nothing) As Task

Параметры

numberToAdd
Int32
faultInjection
FaultInjectionControl

Возвращаемое значение

Атрибуты

Применяется к