Share via


HandleExceptionArgs.ResponseStatusCode Property

Gets the status code that will be sent back in the HTTP header section of the response when an error occurs on the data service.

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

Syntax

'Declaration
Public ReadOnly Property ResponseStatusCode As Integer 
    Get
'Usage
Dim instance As HandleExceptionArgs 
Dim value As Integer 

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

Property Value

Type: System.Int32
An integer value of the HTTP response status code.

See Also

Reference

HandleExceptionArgs Class

System.Data.Services Namespace