Method | Description | |
---|---|---|
CreateScope ( TransactionScopeOption scopeOption = TransactionScopeOption.Required, IsolationLevel isolationLevel = IsolationLevel.ReadCommitted, System.TimeSpan timeout = null ) : |
Creates a new transaction scope with the given options and registers the ITransactionSynchronization and IEnlistmentNotification with the current transaction.
|
|
RegisterResource ( IEnlistmentNotification resource ) : void |
Registers a new IEnlistmentNotification.
|
|
RegisterTransactionSynchronization ( |
Registers a new ITransactionSynchronization to a scope.
|
|
UnregisterResource ( IEnlistmentNotification resource ) : void |
Unregisters a new IEnlistmentNotification.
|
Method | Description | |
---|---|---|
GetIsolationLevel ( IsolationLevel defaultIsolationLevel ) : IsolationLevel | ||
GetTransactionCompleted ( |
||
LogTransactionIfAborted ( |
public static CreateScope ( TransactionScopeOption scopeOption = TransactionScopeOption.Required, IsolationLevel isolationLevel = IsolationLevel.ReadCommitted, System.TimeSpan timeout = null ) : |
||
scopeOption | TransactionScopeOption | The scope options to use, |
isolationLevel | IsolationLevel | The isolation level, |
timeout | System.TimeSpan | The transaction timeout, |
return |
public static RegisterResource ( IEnlistmentNotification resource ) : void | ||
resource | IEnlistmentNotification | the resource to register |
return | void |
public static RegisterTransactionSynchronization ( |
||
scope | the scope to register the synchronization to | |
synchronization | ITransactionSynchronization | the synchronization to register |
return | void |
public static UnregisterResource ( IEnlistmentNotification resource ) : void | ||
resource | IEnlistmentNotification | the resource to unregister |
return | void |