Class ResourceInUseException
- Namespace
- DynaSharp
- Assembly
- DynaSharp.dll
The table or index is being created, updated or deleted, or already exists. Not retried: wait for the table with WaitUntilActiveAsync(CancellationToken), or let IfNotExists() take an existing table as success.
public sealed class ResourceInUseException : DynamoDbException, ISerializable
- Inheritance
-
ResourceInUseException
- Implements
- Inherited Members
Remarks
IsTransient is false, although the state passes: a change of a table takes minutes, and polling is the way to wait for it.
Constructors
ResourceInUseException(string, string?, HttpStatusCode)
Initializes a new instance of the ResourceInUseException class.
public ResourceInUseException(string message, string? requestId = null, HttpStatusCode statusCode = HttpStatusCode.BadRequest)
Parameters
messagestringThe error message returned by DynamoDB.
requestIdstringThe AWS request id, if known.
statusCodeHttpStatusCodeThe HTTP status code of the response.