DataServiceClientException.StatusCode Property

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

Gets the HTTP error status code returned after a DataServiceClientException.

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

Syntax

'Declaration
Public ReadOnly Property StatusCode As Integer
public int StatusCode { get; }

Property Value

Type: System.Int32
An integer value that represents the exception.

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.