Udostępnij za pośrednictwem


DataServiceResponse Class

Represents the response to operations sent to the data service as a result of calling SaveChanges.

Inheritance Hierarchy

System.Object
  System.Data.Services.Client.DataServiceResponse

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

Syntax

'Declaration
Public NotInheritable Class DataServiceResponse _
    Implements IEnumerable(Of OperationResponse), IEnumerable
'Usage
Dim instance As DataServiceResponse
public sealed class DataServiceResponse : IEnumerable<OperationResponse>, 
    IEnumerable
public ref class DataServiceResponse sealed : IEnumerable<OperationResponse^>, 
    IEnumerable
[<SealedAttribute>]
type DataServiceResponse =  
    class 
        interface IEnumerable<OperationResponse>
        interface IEnumerable 
    end
public final class DataServiceResponse implements IEnumerable<OperationResponse>, IEnumerable

The DataServiceResponse type exposes the following members.

Properties

  Name Description
Public property BatchHeaders The headers from an HTTP response associated with a batch request.
Public property BatchStatusCode The status code from an HTTP response associated with a batch request.
Public property IsBatchResponse Gets a Boolean value that indicates whether the response contains multiple results.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that enables retrieval of responses to operations being tracked by OperationResponse objects within the DataServiceResponse.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an enumerator that enables retrieval of responses to operations being tracked by OperationResponse objects within the DataServiceResponse.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Data.Services.Client Namespace