IFaultInjectionTransactionTestGrain.Add(Int32, FaultInjectionControl) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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
傳回
- 屬性