DataServiceQueryException Constructor

Initializes a new instance of the DataServiceQueryException class with a system-supplied message that describes the error.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New DataServiceQueryException()
public DataServiceQueryException()
public:
DataServiceQueryException()
new : unit -> DataServiceQueryException
public function DataServiceQueryException()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error. This message takes into account the current system culture.

The following table shows the initial property values for an instance of InsufficientMemoryException.

Property

Value

InnerException

nulla null reference (Nothing in Visual Basic).

Message

The localized error message string.

See Also

Reference

DataServiceQueryException Class

DataServiceQueryException Overload

System.Data.Services.Client Namespace

Other Resources

Handling and Throwing Exceptions