IFaultInjectionTransactionTestGrain.Add(Int32, FaultInjectionControl) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
Parameters
- numberToAdd
- Int32
- faultInjectionControl
- FaultInjectionControl
Returns
- Attributes