Свойство | Тип | Описание | |
---|---|---|---|
Enter | void | ||
OnStateChanged | void | ||
Parent_TransactionContextStateChanged | void | ||
VoteCommitFromChild | void | ||
VoteRollbackFromChild | void |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Exit ( ) : void |
Exits the transaction context. Its commit or rollback status becomes final.
|
|
GetController ( ) : TransactionContext |
Gets the controlling transaction context.
|
|
TransactionContext ( TransactionContextAffinity affinity ) : System |
Initializes a new instance of the TransactionContext class.
|
|
VoteCommit ( ) : void |
Votes commit for the currently executing operation. A rollback must not have been voted before.
|
|
VoteRollback ( ) : void |
Votes rollback for the currently executing operation.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases resources.
|
Метод | Описание | |
---|---|---|
Enter ( ) : void |
Enters the transaction context. It will become the new current transaction context.
|
|
OnStateChanged ( TransactionContextState previousState, TransactionContextState newState ) : void |
Raises the StateChanged event.
|
|
Parent_TransactionContextStateChanged ( object sender, TransactionContextStateChangedEventArgs e ) : void |
Handles the parent transaction context's StateChanged event.
|
|
VoteCommitFromChild ( ) : void |
Casts the commit vote on parent from a child.
|
|
VoteRollbackFromChild ( ) : void |
Casts the rollback vote on parent from a child.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public GetController ( ) : TransactionContext | ||
Результат | TransactionContext |
public TransactionContext ( TransactionContextAffinity affinity ) : System | ||
affinity | TransactionContextAffinity | The transaction context affinity. |
Результат | System |