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 | |
---|---|---|
Error | Gets error thrown by the operation. | |
Headers | When overridden in a derived class, contains the HTTP response headers associated with a single operation. | |
StatusCode | When overridden in a derived class, gets or sets the HTTP response code associated with a single operation. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.