DataServiceQueryException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DataServiceQueryException() |
Initializes a new instance of the DataServiceQueryException class with a system-supplied message that describes the error. |
DataServiceQueryException(String) |
Initializes a new instance of the DataServiceQueryException class with a specified message that describes the error. |
DataServiceQueryException(String, Exception) |
Initializes a new instance of the DataServiceQueryException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
DataServiceQueryException(String, Exception, QueryOperationResponse) |
Initializes a new instance of the DataServiceQueryException class. |
DataServiceQueryException()
Initializes a new instance of the DataServiceQueryException class with a system-supplied message that describes the error.
public DataServiceQueryException ();
Public Sub New ()
Applies to
DataServiceQueryException(String)
Initializes a new instance of the DataServiceQueryException class with a specified message that describes the error.
public DataServiceQueryException (string message);
new Microsoft.OData.Client.DataServiceQueryException : string -> Microsoft.OData.Client.DataServiceQueryException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The string value that the contains error message.
Applies to
DataServiceQueryException(String, Exception)
Initializes a new instance of the DataServiceQueryException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public DataServiceQueryException (string message, Exception innerException);
new Microsoft.OData.Client.DataServiceQueryException : string * Exception -> Microsoft.OData.Client.DataServiceQueryException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. The string value that contains the error message.
- innerException
- Exception
The exception that is the cause of the current exception. If the innerException
parameter is not null, the current exception is raised in a catch block that handles the inner exception. The inner exception object.
Applies to
DataServiceQueryException(String, Exception, QueryOperationResponse)
Initializes a new instance of the DataServiceQueryException class.
public DataServiceQueryException (string message, Exception innerException, Microsoft.OData.Client.QueryOperationResponse response);
new Microsoft.OData.Client.DataServiceQueryException : string * Exception * Microsoft.OData.Client.QueryOperationResponse -> Microsoft.OData.Client.DataServiceQueryException
Public Sub New (message As String, innerException As Exception, response As QueryOperationResponse)
Parameters
- message
- String
The string value that contains the error message.
- innerException
- Exception
The inner exception object.
- response
- QueryOperationResponse
The QueryOperationResponse object.