OperationResponse Class

Abstract class that represents the response of a single query or create, update, or delete operation.

Inheritance Hierarchy

System.Object
  System.Data.Services.Client.OperationResponse
    System.Data.Services.Client.ChangeOperationResponse
    System.Data.Services.Client.InvokeResponse
    System.Data.Services.Client.QueryOperationResponse

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

Syntax

'Declaration
Public MustInherit Class OperationResponse
'Usage
Dim instance As OperationResponse
public abstract class OperationResponse
public ref class OperationResponse abstract
[<AbstractClassAttribute>]
type OperationResponse =  class end
public abstract class OperationResponse

The OperationResponse type exposes the following members.

Properties

  Name Description
Public property Error Gets error thrown by the operation.
Public property Headers When overridden in a derived class, contains the HTTP response headers associated with a single operation.
Public property StatusCode When overridden in a derived class, gets or sets the HTTP response code associated with a single operation.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

The OperationResponse class is used to hold information that is shared between the two response types, but this class is not intended to be used directly by a developer. Instead, this response object should be cast to the specific QueryResponse or ChangesetResponse type that includes additional operation specific data.

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