Class RateLimitError
Error occurred because the app is being rate limited.
Inheritance
System.Object
RateLimitError
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Auth
Assembly: Dropbox.Api.dll
Syntax
public class RateLimitError
Constructors
| Improve this Doc View SourceRateLimitError(RateLimitReason, UInt64)
Initializes a new instance of the RateLimitError class.
Declaration
public RateLimitError(RateLimitReason reason, ulong retryAfter = 1UL)
Parameters
Type | Name | Description |
---|---|---|
RateLimitReason | reason | The reason why the app is being rate limited. |
System.UInt64 | retryAfter | The number of seconds that the app should wait before making another request. |
Properties
| Improve this Doc View SourceReason
The reason why the app is being rate limited.
Declaration
public RateLimitReason Reason { get; protected set; }
Property Value
Type | Description |
---|---|
RateLimitReason |
RetryAfter
The number of seconds that the app should wait before making another request.
Declaration
public ulong RetryAfter { get; protected set; }
Property Value
Type | Description |
---|---|
System.UInt64 |