Freigeben über


DataServiceClientException Constructor (String, 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, _
    statusCode As Integer _
)
public DataServiceClientException(
    string message,
    int statusCode
)

Parameters

  • message
    Type: System.String
    The string value that contains the error message.
  • 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.