RetryLimitExceededException Class

 

Note: This API is now obsolete.

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.WindowsAzure.Common.TransientFaultHandling
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.WindowsAzure.Common.TransientFaultHandling.RetryLimitExceededException

Syntax

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

Constructors

Name Description
RetryLimitExceededException()

Initializes a new instance of the RetryLimitExceededException class with a default error message.

RetryLimitExceededException(Exception)

Initializes a new instance of the RetryLimitExceededException class with a reference to the inner exception that is the cause of this exception.

RetryLimitExceededException(String)

Initializes a new instance of the RetryLimitExceededException class with a specified error message.

RetryLimitExceededException(String, Exception)

Initializes a new instance of the RetryLimitExceededException class with a specified error message and inner exception.

Properties

Name Description
Data

(Inherited from Exception.)

HelpLink

(Inherited from Exception.)

HResult

(Inherited from Exception.)

InnerException

(Inherited from Exception.)

Message

(Inherited from Exception.)

Source

(Inherited from Exception.)

StackTrace

(Inherited from Exception.)

TargetSite

(Inherited from Exception.)

Methods

Name Description
Equals(Object)

(Inherited from Object.)

GetBaseException()

(Inherited from Exception.)

GetHashCode()

(Inherited from Object.)

GetObjectData(SerializationInfo, StreamingContext)

(Inherited from Exception.)

GetType()

(Inherited from Exception.)

ToString()

(Inherited from Exception.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace

Return to top