Class RetryLimitExceededException
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.
Inheritance
Namespace: Umbraco.Core.Persistence.FaultHandling
Assembly: Umbraco.Core.dll
Syntax
[Serializable]
public sealed class RetryLimitExceededException : Exception, ISerializable, _Exception
Constructors
View SourceRetryLimitExceededException()
Initializes a new instance of the RetryLimitExceededException class with a default error message.
Declaration
public RetryLimitExceededException()
RetryLimitExceededException(Exception)
Initializes a new instance of the RetryLimitExceededException class with a reference to the inner exception that is the cause of this exception.
Declaration
public RetryLimitExceededException(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The exception that is the cause of the current exception. |
RetryLimitExceededException(String)
Initializes a new instance of the RetryLimitExceededException class with a specified error message.
Declaration
public RetryLimitExceededException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
RetryLimitExceededException(String, Exception)
Initializes a new instance of the RetryLimitExceededException class.
Declaration
public RetryLimitExceededException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception. |