Edytuj

Udostępnij za pośrednictwem


ITransactionalResource Interface

Definition

Interface that allows a component to be a transaction participant.

public interface ITransactionalResource
type ITransactionalResource = interface
Public Interface ITransactionalResource

Methods

Abort(Guid)

One-way message sent by TA to participants to let them know a transaction has aborted.

Cancel(Guid, DateTime, TransactionalStatus)

One-way message sent by TM to participants to let them know a transaction has aborted.

CommitReadOnly(Guid, AccessCounter, DateTime)

Request sent by TA to all participants of a read-only transaction (one-phase commit). Participants respond after committing or aborting the read.

Confirm(Guid, DateTime)

Request sent by TM to participants to let them know a transaction has committed. Participants respond after cleaning up all prepare records.

Prepare(Guid, AccessCounter, DateTime, ParticipantId)

One-way message sent by TA to all participants except TM.

Applies to