TransactionRetryScope Members
Include Protected Members
Include Inherited Members
The TransactionRetryScope type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TransactionRetryScope(Action) |
Initializes a new instance of the TransactionRetryScope class. Implements no retry policy, but just invokes the unit of work exactly once.
|
|
TransactionRetryScope(Transaction, Action) |
Initializes a new instance of the TransactionRetryScope class and sets the specified transaction as the ambient transaction, so that transactional work performed inside the scope uses this transaction. Implements no retry policy, but just invokes the unit of work exactly once.
|
|
TransactionRetryScope(TransactionScopeOption, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified requirements. Implements no retry policy, but just invokes the unit of work exactly once.
|
|
TransactionRetryScope(RetryPolicy, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified retry policy.
|
|
TransactionRetryScope(Transaction, RetryPolicy, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified retry policy and sets the specified transaction as the ambient transaction, so that transactional work performed inside the scope uses this transaction.
|
|
TransactionRetryScope(Transaction, TimeSpan, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified time-out value, and sets the specified transaction as the ambient transaction, so that transactional work performed inside the scope uses this transaction. Implements no retry policy, but just invokes the unit of work exactly once.
|
|
TransactionRetryScope(TransactionScopeOption, RetryPolicy, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified requirements and retry policy. Uses the ReadCommitted isolation level by default.
|
|
TransactionRetryScope(TransactionScopeOption, TimeSpan, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified time-out value and requirements. Implements no retry policy, but just invokes the unit of work exactly once.
|
|
TransactionRetryScope(TransactionScopeOption, TransactionOptions, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified requirements. Implements no retry policy, but just invokes the unit of work exactly once.
|
|
TransactionRetryScope(Transaction, TimeSpan, RetryPolicy, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified time-out value, and sets the specified transaction as the ambient transaction, so that transactional work performed inside the scope uses this transaction. Uses the specified retry policy.
|
|
TransactionRetryScope(TransactionScopeOption, TimeSpan, RetryPolicy, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified time-out value, transaction scope options, and retry policy. Uses the ReadCommitted isolation level by default.
|
|
TransactionRetryScope(TransactionScopeOption, TransactionOptions, RetryPolicy, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified requirements and retry policy.
|
Methods
Name | Description | |
---|---|---|
Complete |
Indicates that all operations within the scope have been completed successfully.
|
|
Dispose |
Ends the transaction scope.
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
InvokeUnitOfWork |
Executes the underlying unit of work and retries as prescribed by the current retry policy.
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ToString |
Returns a string that represents the current object.
(Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
RetryPolicy |
Gets the policy that determines whether to retry the execution of the entire scope if a transient fault is encountered.
|
See Also
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace