Dropbox .NET SDK
Show / Hide Table of Contents

Class DropboxException

Base class for all exceptions from Dropbox service.

Inheritance
object
Exception
DropboxException
HttpException
StructuredException<TError>
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public class DropboxException : Exception, ISerializable

Properties

View Source

RequestId

Gets the Dropbox request ID associated with this exception.

Declaration
public string RequestId { get; }
Property Value
Type Description
string
Remarks

This value may be null when no response was received from Dropbox.

View Source

ResponseHeaders

Gets a read-only snapshot of the response and content headers, with case-insensitive names and all values preserved. Empty when no HTTP response was received.

Declaration
public IReadOnlyDictionary<string, IReadOnlyList<string>> ResponseHeaders { get; }
Property Value
Type Description
IReadOnlyDictionary<string, IReadOnlyList<string>>
Remarks

The snapshot remains available after the HTTP response is disposed.

View Source

ResponseStatusCode

Gets the numeric status code of the actual HTTP response, or null when no response was received.

Declaration
public int? ResponseStatusCode { get; }
Property Value
Type Description
int?

Methods

View Source

ToString()

The ToString().

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current DropboxException.

Overrides
Exception.ToString()

Implements

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