TransactionTestRunnerBase.TestGrain 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
TestGrain(String, Guid) | |
TestGrain<TGrainInterface>(String, Guid) |
TestGrain(String, Guid)
protected virtual Orleans.Transactions.TestKit.ITransactionTestGrain TestGrain (string transactionTestGrainClassName, Guid id);
abstract member TestGrain : string * Guid -> Orleans.Transactions.TestKit.ITransactionTestGrain
override this.TestGrain : string * Guid -> Orleans.Transactions.TestKit.ITransactionTestGrain
Protected Overridable Function TestGrain (transactionTestGrainClassName As String, id As Guid) As ITransactionTestGrain
參數
- transactionTestGrainClassName
- String
- id
- Guid
傳回
適用於
TestGrain<TGrainInterface>(String, Guid)
protected virtual TGrainInterface TestGrain<TGrainInterface> (string transactionTestGrainClassName, Guid id) where TGrainInterface : Orleans.IGrainWithGuidKey;
abstract member TestGrain : string * Guid -> 'GrainInterface (requires 'GrainInterface :> Orleans.IGrainWithGuidKey)
override this.TestGrain : string * Guid -> 'GrainInterface (requires 'GrainInterface :> Orleans.IGrainWithGuidKey)
Protected Overridable Function TestGrain(Of TGrainInterface As IGrainWithGuidKey) (transactionTestGrainClassName As String, id As Guid) As TGrainInterface
類型參數
- TGrainInterface
參數
- transactionTestGrainClassName
- String
- id
- Guid
傳回
TGrainInterface