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

Properties

| Improve this Doc 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
System.Boolean

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

| Improve this Doc 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
System.Uri

The request URI.

| Improve this Doc 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
System.Int32
| Improve this Doc 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
System.Int32

The status code.

Implements

System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • IsRateLimit
    • RequestUri
    • RetryAfter
    • StatusCode
  • Implements
Back to top Generated by DocFX