OperationResponse Class
WCF Data Services 5.0
Abstract class that represents the response of a single query or create, update, or delete operation.
System.Object
System.Data.Services.Client.OperationResponse
System.Data.Services.Client.ChangeOperationResponse
System.Data.Services.Client.InvokeResponse
System.Data.Services.Client.QueryOperationResponse
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)
The OperationResponse type exposes the following members.
| 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. |
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.
Show:
