DocumentServiceQueryException Class

Represents an exception from document service queries.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Azure.Documents.DocumentClientException
      Microsoft.Azure.Documents.Linq.DocumentServiceQueryException

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class DocumentServiceQueryException _
    Inherits DocumentClientException
'Usage
Dim instance As DocumentServiceQueryException
[SerializableAttribute]
public sealed class DocumentServiceQueryException : DocumentClientException
[SerializableAttribute]
public ref class DocumentServiceQueryException sealed : public DocumentClientException
[<SealedAttribute>]
[<SerializableAttribute>]
type DocumentServiceQueryException =  
    class 
        inherit DocumentClientException 
    end
public final class DocumentServiceQueryException extends DocumentClientException

The DocumentServiceQueryException type exposes the following members.

Constructors

  Name Description
Public method DocumentServiceQueryException(String) Initializes a new instance of the DocumentServiceQueryException class.
Public method DocumentServiceQueryException(String, Exception) Initializes a new instance of the DocumentServiceQueryException class.

Top

Properties

  Name Description
Public property ActivityId Gets the activity ID associated with the request. (Inherited from DocumentClientException.)
Public property Data (Inherited from Exception.)
Public property Error Gets the error code associated with the exception. (Inherited from DocumentClientException.)
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property RequestCharge Gets the cost of the request. (Inherited from DocumentClientException.)
Public property ResponseHeaders Gets the headers associated with the response. (Inherited from DocumentClientException.)
Public property RetryAfter Gets the recommended time interval after which the client can retry failed requests. (Inherited from DocumentClientException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property StatusCode Gets or sets the request status code. (Inherited from DocumentClientException.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Public method ToString (Inherited from Exception.)

Top

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.

See Also

Reference

Microsoft.Azure.Documents.Linq Namespace