ConsistencyTransactionTestRunner.RandomizedConsistency 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public virtual System.Threading.Tasks.Task RandomizedConsistency (int numGrains, int scale, bool avoidDeadlocks, bool avoidTimeouts, Orleans.Transactions.TestKit.Consistency.ReadWriteDetermination readwrite);
abstract member RandomizedConsistency : int * int * bool * bool * Orleans.Transactions.TestKit.Consistency.ReadWriteDetermination -> System.Threading.Tasks.Task
override this.RandomizedConsistency : int * int * bool * bool * Orleans.Transactions.TestKit.Consistency.ReadWriteDetermination -> System.Threading.Tasks.Task
Public Overridable Function RandomizedConsistency (numGrains As Integer, scale As Integer, avoidDeadlocks As Boolean, avoidTimeouts As Boolean, readwrite As ReadWriteDetermination) As Task
參數
- numGrains
- Int32
- scale
- Int32
- avoidDeadlocks
- Boolean
- avoidTimeouts
- Boolean
- readwrite
- ReadWriteDetermination