DataServiceQueryException Constructor (String)
Initializes a new instance of the DataServiceQueryException class with a specified 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 ( _
message As String _
)
'Usage
Dim message As String
Dim instance As New DataServiceQueryException(message)
public DataServiceQueryException(
string message
)
public:
DataServiceQueryException(
String^ message
)
new :
message:string -> DataServiceQueryException
public function DataServiceQueryException(
message : String
)
Parameters
- message
Type: System.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.
Remarks
The following table shows the initial property values for an instance of DataServiceQueryException.
Property |
Value |
---|---|
nulla null reference (Nothing in Visual Basic). |
|
The error message string specified in message. |
See Also
Reference
DataServiceQueryException Class
DataServiceQueryException Overload
System.Data.Services.Client Namespace