DataServiceResponse.BatchStatusCode Property

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

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

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

Syntax

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

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 batch. For non-batching requests, the value is always 200, which means the caller must inspect each operation to determine its result.

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.