ReliableSqlConnection.CommandRetryPolicy Property

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.

Gets the policy which decides whether to retry a command, based on how many times the request has been made and the reason for the last failure.

Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

public RetryPolicy CommandRetryPolicy { get; }
'Declaration
Public ReadOnly Property CommandRetryPolicy As RetryPolicy
    Get
public:
property RetryPolicy^ CommandRetryPolicy {
    RetryPolicy^ get ();
}

See Also

ReliableSqlConnection Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure Namespace