TransactionRetryScope Members
Include Protected Members
Include Inherited Members
Retired Content |
---|
This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling. |
The TransactionRetryScope type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TransactionRetryScope(Action) |
Initializes a new instance of the TransactionRetryScope class. Implements no retry policy, it 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, Action) |
Initializes a new instance of the TransactionRetryScope class and sets the specified transaction as the ambient transaction, so that transactional work done inside the scope uses this transaction. Implements no retry policy, it 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, it just invokes the unit of work exactly once.
|
|
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 done inside the scope uses this transaction.
|
|
TransactionRetryScope(Transaction, TimeSpan, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified timeout value, and sets the specified transaction as the ambient transaction, so that transactional work done inside the scope uses this transaction. Implements no retry policy, it 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 timeout value and requirements. Implements no retry policy, it 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, it just invokes the unit of work exactly once.
|
|
TransactionRetryScope(Transaction, TimeSpan, RetryPolicy, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified timeout value, and sets the specified transaction as the ambient transaction, so that transactional work done inside the scope uses this transaction. Uses the with the specified retry policy.
|
|
TransactionRetryScope(TransactionScopeOption, TimeSpan, RetryPolicy, Action) |
Initializes a new instance of the TransactionRetryScope class with the specified timeout 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 specified retry policy.
|
Methods
Name | Description | |
---|---|---|
Complete |
Indicates that all operations within the scope are completed successfully.
|
|
Dispose |
Ends the transaction scope.
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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 | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
RetryPolicy |
Gets the policy which defines whether to retry the execution of the entire scope should a transient fault be encountered.
|
See Also
Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure Namespace