ITransactionManagerExtension.PrepareAndCommit 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Orleans.Concurrency.AlwaysInterleave]
[Orleans.Transaction(Orleans.TransactionOption.Suppress)]
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 totalParticipants);
[<Orleans.Concurrency.AlwaysInterleave>]
[<Orleans.Transaction(Orleans.TransactionOption.Suppress)>]
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>
Public Function PrepareAndCommit (resourceId As String, transactionId As Guid, accessCount As AccessCounter, timeStamp As DateTime, writeResources As List(Of ParticipantId), totalParticipants As Integer) As Task(Of TransactionalStatus)
参数
- resourceId
- String
- transactionId
- Guid
- accessCount
- AccessCounter
- timeStamp
- DateTime
- writeResources
- List<ParticipantId>
- totalParticipants
- Int32
返回
- 属性