Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceException Constructor (Int32, String^)

 

Initializes a new instance of the DataServiceException class.

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

public:
DataServiceException(
	int statusCode,
	String^ message
)

Parameters

statusCode
Type: System::Int32

The HTTP status code returned by the exception.

message
Type: System::String^

The error message for the exception.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft