Udostępnij za pośrednictwem


ReliableSqlConnection.CommandRetryPolicy Property

Gets the policy that determines 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.TransientFaultHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data (in Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

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

Property Value

Type: RetryPolicy

See Also

ReliableSqlConnection Class

ReliableSqlConnection Members

Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace