Свойство | Type | Description | |
---|---|---|---|
Enter | void | ||
OnStateChanged | void | ||
Parent_TransactionContextStateChanged | void | ||
VoteCommitFromChild | void | ||
VoteRollbackFromChild | void |
Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases resources.
|
Méthode | Description | |
---|---|---|
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 | |
Résultat | void |
public GetController ( ) : TransactionContext | ||
Résultat | TransactionContext |
public TransactionContext ( TransactionContextAffinity affinity ) : System | ||
affinity | TransactionContextAffinity | The transaction context affinity. |
Résultat | System |