TransactionManagerExtension.PrepareAndCommit 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public System.Threading.Tasks.Task<Orleans.Transactions.TransactionalStatus> PrepareAndCommit (string resourceId, Guid transactionId, Orleans.Transactions.Abstractions.AccessCounter accessCount, DateTime timeStamp, System.Collections.Generic.List<Orleans.Transactions.ParticipantId> writeResources, int totalResources);
abstract member PrepareAndCommit : string * Guid * Orleans.Transactions.Abstractions.AccessCounter * DateTime * System.Collections.Generic.List<Orleans.Transactions.ParticipantId> * int -> System.Threading.Tasks.Task<Orleans.Transactions.TransactionalStatus>
override this.PrepareAndCommit : string * Guid * Orleans.Transactions.Abstractions.AccessCounter * DateTime * System.Collections.Generic.List<Orleans.Transactions.ParticipantId> * int -> System.Threading.Tasks.Task<Orleans.Transactions.TransactionalStatus>
Public Function PrepareAndCommit (resourceId As String, transactionId As Guid, accessCount As AccessCounter, timeStamp As DateTime, writeResources As List(Of ParticipantId), totalResources As Integer) As Task(Of TransactionalStatus)
參數
- resourceId
- String
- transactionId
- Guid
- accessCount
- AccessCounter
- timeStamp
- DateTime
- writeResources
- List<ParticipantId>
- totalResources
- Int32