Table of Contents

Class RetryLimitExceededException

Namespace
Microsoft.EntityFrameworkCore.Storage
Assembly
Microsoft.EntityFrameworkCore.dll

The exception that is thrown when the action failed more times than the configured limit.

public class RetryLimitExceededException : Exception, ISerializable
Inheritance
RetryLimitExceededException
Implements
Inherited Members

Remarks

See Connection resiliency and database retries for more information and examples.

Constructors

RetryLimitExceededException()

Initializes a new instance of the RetryLimitExceededException class.

public RetryLimitExceededException()

RetryLimitExceededException(SerializationInfo, StreamingContext)

Initializes a new instance of the DbUpdateException class from a serialized form.

[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
public RetryLimitExceededException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The serialization info.

context StreamingContext

The streaming context being used.

RetryLimitExceededException(string)

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

public RetryLimitExceededException(string message)

Parameters

message string

The message that describes the error.

RetryLimitExceededException(string, Exception)

Initializes a new instance of the RetryLimitExceededException class.

public RetryLimitExceededException(string message, Exception innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that is the cause of the current exception.