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
RateLimitException
Implements
System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable
Inherited Members
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 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 |
---|---|
System.Boolean |
|
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. |
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 |
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