Share via


DocumentClientException.Error Property

Gets the error code associated with the exception.

Namespace: Microsoft.Azure.Documents
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

Usage

'Usage
Dim instance As DocumentClientException
Dim value As Error

value = instance.Error

Syntax

'Declaration
Public ReadOnly Property Error As Error
public Error Error { get; }
public:
property Error^ Error {
    Error^ get ();
}
/** @property */
public Error get_Error ()
public function get Error () : Error

Property Value

The error code associated with the exception.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

DocumentClientException Class
DocumentClientException Members
Microsoft.Azure.Documents Namespace