DocumentServiceQueryException Class

Represents an exception from document service queries.

Inheritance Hierarchy


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


<SerializableAttribute> _
Public NotInheritable Class DocumentServiceQueryException _
    Inherits DocumentClientException
Dim instance As DocumentServiceQueryException
public sealed class DocumentServiceQueryException : DocumentClientException
public ref class DocumentServiceQueryException sealed : public DocumentClientException
type DocumentServiceQueryException =  
        inherit DocumentClientException 
public final class DocumentServiceQueryException extends DocumentClientException

The DocumentServiceQueryException type exposes the following members.


  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.



  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.)



  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.)


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


Microsoft.Azure.Documents.Linq Namespace