Dropbox .NET SDK
Show / Hide Table of Contents

Class ErrorCode

The error code object

Inheritance
object
ErrorCode
ErrorCode.AccessError
ErrorCode.ApiError
ErrorCode.BadRequest
ErrorCode.Other
ErrorCode.RatelimitError
ErrorCode.Unavailable
ErrorCode.UnknownError
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ErrorCode

Constructors

View Source

ErrorCode()

Initializes a new instance of the ErrorCode class.

Declaration
public ErrorCode()

Properties

View Source

AsAccessError

Gets this instance as a AccessError, or null.

Declaration
public ErrorCode.AccessError AsAccessError { get; }
Property Value
Type Description
ErrorCode.AccessError
View Source

AsApiError

Gets this instance as a ApiError, or null.

Declaration
public ErrorCode.ApiError AsApiError { get; }
Property Value
Type Description
ErrorCode.ApiError
View Source

AsBadRequest

Gets this instance as a BadRequest, or null.

Declaration
public ErrorCode.BadRequest AsBadRequest { get; }
Property Value
Type Description
ErrorCode.BadRequest
View Source

AsOther

Gets this instance as a Other, or null.

Declaration
public ErrorCode.Other AsOther { get; }
Property Value
Type Description
ErrorCode.Other
View Source

AsRatelimitError

Gets this instance as a RatelimitError, or null.

Declaration
public ErrorCode.RatelimitError AsRatelimitError { get; }
Property Value
Type Description
ErrorCode.RatelimitError
View Source

AsUnavailable

Gets this instance as a Unavailable, or null.

Declaration
public ErrorCode.Unavailable AsUnavailable { get; }
Property Value
Type Description
ErrorCode.Unavailable
View Source

AsUnknownError

Gets this instance as a UnknownError, or null.

Declaration
public ErrorCode.UnknownError AsUnknownError { get; }
Property Value
Type Description
ErrorCode.UnknownError
View Source

IsAccessError

Gets a value indicating whether this instance is AccessError

Declaration
public bool IsAccessError { get; }
Property Value
Type Description
bool
View Source

IsApiError

Gets a value indicating whether this instance is ApiError

Declaration
public bool IsApiError { get; }
Property Value
Type Description
bool
View Source

IsBadRequest

Gets a value indicating whether this instance is BadRequest

Declaration
public bool IsBadRequest { get; }
Property Value
Type Description
bool
View Source

IsOther

Gets a value indicating whether this instance is Other

Declaration
public bool IsOther { get; }
Property Value
Type Description
bool
View Source

IsRatelimitError

Gets a value indicating whether this instance is RatelimitError

Declaration
public bool IsRatelimitError { get; }
Property Value
Type Description
bool
View Source

IsUnavailable

Gets a value indicating whether this instance is Unavailable

Declaration
public bool IsUnavailable { get; }
Property Value
Type Description
bool
View Source

IsUnknownError

Gets a value indicating whether this instance is UnknownError

Declaration
public bool IsUnknownError { get; }
Property Value
Type Description
bool
  • View Source
In this article
Back to top Dropbox .NET SDK