Condividi tramite


System.Data.Services.Client Namespace

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

Represents the Silverlight client library that applications can use to access WCF Data Services. 

Classes

  Class Description
Public class ChangeOperationResponse Results that are returned after a call to the EndSaveChanges method when enumerating operation responses that are returned by the DataServiceResponse class.
Public class DataServiceClientException Represents errors from an WCF Data Services client application.
Public class DataServiceCollection<T> Represents a dynamic entity collection that provides notifications when items get added, removed, or when the list is refreshed.
Public class DataServiceContext The DataServiceContext represents the runtime context of an WCF Data Services. WCF Data Services are stateless, but the DataServiceContext is not. State on the client is maintained between interactions in order to support features such as update management. This class, and the DataServiceQuery class that represents a particular HTTP request to a data service, are the two main classes in the client library.
Public class DataServiceQuery An abstract class that represents a single query request to a data service.
Public class DataServiceQuery<TElement> Represents a single query request to a data service.
Public class DataServiceQueryContinuation Encapsulates a URI that returns the next page of a paged query result.
Public class DataServiceQueryContinuation<T> Encapsulates a URI that returns the next page of a paged query result.
Public class DataServiceQueryException Exception that indicates an error occurred while loading the property value from the data service.
Public class DataServiceRequest Represents request objects that are submitted as a batch to the data service.
Public class DataServiceRequest<TElement> Represents request objects submitted as a batch to the data service.
Public class DataServiceRequestArgs Represents additional metadata that is included in a request message to the data service.
Public class DataServiceRequestException Represents the error thrown if the data service returns a response code less than 200 or greater than 299 or if the top-level element in the response is <error>. This class cannot be inherited.
Public class DataServiceResponse Represents the response to operations that were sent to the data service by calling BeginSaveChanges.
Public class DataServiceStreamResponse Represents a response from the data service that contains binary data as a stream.
Public class Descriptor Abstract class from which EntityDescriptor is derived.
Public class EntityChangedParams Encapsulates the arguments of a PropertyChanged delegate
Public class EntityCollectionChangedParams Encapsulates the arguments of a CollectionChanged delegate
Public class EntityDescriptor Description of modifications done to entities by operations returned in a DataServiceResponse.
Public class LinkDescriptor Represents a link between two entities.
Public class LoadCompletedEventArgs Used as the EventArgs class for the LoadCompleted event.
Public class MediaEntryAttribute Signifies that the specified class is to be treated as a media link entry.
Public class MimeTypePropertyAttribute Annotates a property on a class that was annotated with the MediaEntryAttribute.
Public class OperationResponse Abstract class that represents the response of a single query or create, update, or delete operation.
Public class QueryOperationResponse Represents the responses to a DataServiceQuery.
Public class QueryOperationResponse<T> Represents the responses to a DataServiceQuery<TElement>.
Public class ReadingWritingEntityEventArgs Contains data for the events raised during when entities are serialized to and deserialized from feeds.
Public class SendingRequestEventArgs Used with the SendingRequest event to provide access to the HttpWebRequest instance that the client is about to send to the target data service.

Enumerations

  Enumeration Description
Public enumeration EntityStates Represents the enumeration that identifies the state of an entity being tracked by the DataServiceContext.
Public enumeration HttpStack Represents the type of HTTP implementation to use when accessing the data service.
Public enumeration MergeOption Determines the synchronization option for sending or receiving entities to or from a data service.
Public enumeration SaveChangesOptions Indicates change options when BeginSaveChanges is called.
Public enumeration TrackingMode Determines whether changes that are made to a DataServiceCollection<T> are tracked.