Class RateLimitException
An exception that will cause a retry due to rate limiting. The SDK will not do auto-retry for this type of exception. The client should do proper backoff based on the value of RetryAfter field.
Inheritance
RateLimitException
Implements
Inherited Members
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public sealed class RateLimitException : StructuredException<RateLimitError>, ISerializable
Properties
View SourceIsRateLimit
Gets a value indicating whether this error represents a rate limiting response from the server.
Declaration
[Obsolete("This field will be removed soon.")]
public bool IsRateLimit { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
RequestUri
Gets the URI for the request that prompted this exception.
Declaration
[Obsolete("This field will be removed soon.")]
public Uri RequestUri { get; }
Property Value
| Type | Description |
|---|---|
| Uri | The request URI. |
RetryAfter
Gets the value in second which the client should backoff and retry after.
Declaration
public int RetryAfter { get; }
Property Value
| Type | Description |
|---|---|
| int |
StatusCode
Gets the HTTP status code that prompted this exception.
Declaration
[Obsolete("This field will be removed soon.")]
public int StatusCode { get; }
Property Value
| Type | Description |
|---|---|
| int | The status code. |