Partager via


DataServiceClientException Constructor (String, Exception, Int32)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Initializes a new instance of the DataServiceClientException class.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    statusCode As Integer _
)
public DataServiceClientException(
    string message,
    Exception innerException,
    int statusCode
)

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 the status code.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.