Class DropboxException
Base class for all exceptions from Dropbox service.
Implements
Inherited Members
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public class DropboxException : Exception, ISerializable
Properties
View SourceRequestId
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.
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.
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 SourceToString()
The ToString().
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current DropboxException. |