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: