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^, String^, String^, Exception^)

 

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^ errorCode,
	String^ message,
	String^ messageXmlLang,
	Exception^ innerException
)

Parameters

statusCode
Type: System::Int32

The HTTP status code of the exception.

errorCode
Type: System::String^

The string value that contains the error code.

message
Type: System::String^

The string value that contains the error message.

messageXmlLang
Type: System::String^

The string value that indicates the language of the error message.

innerException
Type: System::Exception^

The exception that is the cause of the current exception.

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