Dropbox .NET SDK
Show / Hide Table of Contents

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
object
Exception
DropboxException
StructuredException<RateLimitError>
RateLimitException
Implements
ISerializable
Inherited Members
StructuredException<RateLimitError>.ErrorResponse
StructuredException<RateLimitError>.Message
DropboxException.ToString()
DropboxException.RequestId
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Source
Exception.StackTrace
Exception.TargetSite
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.ReferenceEquals(object, object)
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public sealed class RateLimitException : StructuredException<RateLimitError>, ISerializable

Properties

View Source

IsRateLimit

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

true if this response is a rate limit; otherwise, false.

View Source

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.

View Source

RetryAfter

Gets the value in second which the client should backoff and retry after.

Declaration
public int RetryAfter { get; }
Property Value
Type Description
int
View Source

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.

Implements

ISerializable
  • View Source
In this article
Back to top Dropbox .NET SDK