Partager via


RetryLimitExceededException Class

The special type of exception that provides managed exit from a retry loop. The user code can use this exception to notify the retry policy that no further retry attempts are required.

Namespace: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling (in Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

[ObsoleteAttribute("You should use cancellation tokens or other means of stoping the retry loop.")]
public sealed class RetryLimitExceededException : Exception
'Declaration
<ObsoleteAttribute("You should use cancellation tokens or other means of stoping the retry loop.")> 
Public NotInheritable Class RetryLimitExceededException
    Inherits Exception
[ObsoleteAttribute(L"You should use cancellation tokens or other means of stoping the retry loop.")]
public ref class RetryLimitExceededException sealed : public Exception

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryLimitExceededException

See Also

RetryLimitExceededException Members

Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace