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
SerializationInfoThe serialization info.
context
StreamingContextThe 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
stringThe message that describes the error.
RetryLimitExceededException(string, Exception)
Initializes a new instance of the RetryLimitExceededException class.
public RetryLimitExceededException(string message, Exception innerException)