DataServiceClientException Constructor (String, Exception, Int32)
Initializes a new instance of the DataServiceClientException class.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception, _
statusCode As Integer _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim statusCode As Integer
Dim instance As New DataServiceClientException(message, _
innerException, statusCode)
public DataServiceClientException(
string message,
Exception innerException,
int statusCode
)
public:
DataServiceClientException(
String^ message,
Exception^ innerException,
int statusCode
)
new :
message:string *
innerException:Exception *
statusCode:int -> DataServiceClientException
public function DataServiceClientException(
message : String,
innerException : Exception,
statusCode : int
)
Parameters
- message
Type: System.String
The string value that contains the error message.
- innerException
Type: System.Exception
The System.Exception object that contains the inner exception.
- statusCode
Type: System.Int32
The integer value that contains status code.
See Also
Reference
DataServiceClientException Class