共用方式為


SingleStateFaultInjectionTransactionalGrain.Add 方法

定義

public System.Threading.Tasks.Task Add (int numberToAdd, Orleans.Transactions.TestKit.FaultInjectionControl faultInjectionControl = default);
abstract member Add : int * Orleans.Transactions.TestKit.FaultInjectionControl -> System.Threading.Tasks.Task
override this.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

傳回

實作

適用於