DataServiceException Constructor (Int32, String^, String^, String^, Exception^)
.NET Framework (current version)
Initializes a new instance of the DataServiceException class.
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
Available since 3.5
Show: