共用方式為


IFaultInjectionTransactionTestGrain.Add(Int32, FaultInjectionControl) 方法

定義

[Orleans.Transaction(Orleans.TransactionOption.CreateOrJoin)]
public System.Threading.Tasks.Task Add (int numberToAdd, Orleans.Transactions.TestKit.FaultInjectionControl faultInjectionControl = default);
[<Orleans.Transaction(Orleans.TransactionOption.CreateOrJoin)>]
abstract member Add : int * Orleans.Transactions.TestKit.FaultInjectionControl -> System.Threading.Tasks.Task
Public Function Add (numberToAdd As Integer, Optional faultInjectionControl As FaultInjectionControl = Nothing) As Task

參數

numberToAdd
Int32
faultInjectionControl
FaultInjectionControl

傳回

屬性

適用於