DataServiceRequestException Constructor

Initializes a new instance of the DataServiceRequestException 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 DataServiceRequestException()
public DataServiceRequestException()
public:
DataServiceRequestException()
new : unit -> DataServiceRequestException
public function DataServiceRequestException()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply". 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

DataServiceRequestException Class

DataServiceRequestException Overload

System.Data.Services.Client Namespace

Other Resources

Handling and Throwing Exceptions