DataServiceException.StatusCode Property

Gets the HTTP status code returned by the exception.

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

Syntax

'Declaration
Public ReadOnly Property StatusCode As Integer 
    Get
'Usage
Dim instance As DataServiceException 
Dim value As Integer 

value = instance.StatusCode
public int StatusCode { get; }
public:
property int StatusCode {
    int get ();
}
member StatusCode : int
function get StatusCode () : int

Property Value

Type: System.Int32
HTTP status code for the exception.

See Also

Reference

DataServiceException Class

System.Data.Services Namespace