FaultInjectionTransactionCoordinatorGrain.MultiGrainAddAndFaultInjection 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public System.Threading.Tasks.Task MultiGrainAddAndFaultInjection (System.Collections.Generic.List<Orleans.Transactions.TestKit.IFaultInjectionTransactionTestGrain> grains, int numberToAdd, Orleans.Transactions.TestKit.FaultInjectionControl faultInjection = default);
abstract member MultiGrainAddAndFaultInjection : System.Collections.Generic.List<Orleans.Transactions.TestKit.IFaultInjectionTransactionTestGrain> * int * Orleans.Transactions.TestKit.FaultInjectionControl -> System.Threading.Tasks.Task
override this.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