DataServiceResponse.BatchStatusCode Property

The status code from an HTTP response associated with a batch request.

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

Syntax

'Declaration
Public ReadOnly Property BatchStatusCode As Integer 
    Get
'Usage
Dim instance As DataServiceResponse 
Dim value As Integer 

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

Property Value

Type: System.Int32
An integer based on status codes defined in Hypertext Transfer Protocol.

Remarks

For batching operations, this is the status code from the HTTP response associated with the entire batch. For non-batching requests, the value is always 200, which means the caller must inspect each operation to determine its result.

See Also

Reference

DataServiceResponse Class

System.Data.Services.Client Namespace