System.Data.Services.Client 命名空間

表示應用程式可用來與 WCF 資料服務進行互動的 .NET Framework 用戶端程式庫。 Represents the .NET Framework client library that applications can use to interact with WCF Data Services.

類別

ChangeOperationResponse

在列舉 SaveChanges() 類別傳回的作業回應時,於 DataServiceResponse 呼叫後傳回的結果。Results returned after a call to SaveChanges() when enumerating operation responses returned by the DataServiceResponse class.

DataServiceClientException

表示 WCF Data Services 用戶端應用程式執行期間所發生的錯誤。Represents errors that occur during execution of WCF Data Services client applications.

DataServiceCollection<T>

表示在加入、移除項目或重新整理清單時提供通知的動態實體集合。Represents a dynamic entity collection that provides notifications when items get added, removed, or when the list is refreshed.

DataServiceContext

DataServiceContext 代表資料服務的執行階段內容。The DataServiceContext represents the runtime context of the data service.

DataServiceQuery

抽象類別,表示 WCF Data Services 的單一查詢要求。An abstract class that represents a single query request to WCF Data Services.

DataServiceQuery<TElement>

表示對資料服務的單一查詢要求。Represents a single query request to a data service.

DataServiceQueryContinuation

封裝 URI,該 URI 會傳回分頁 WCF Data Services 查詢結果的下一頁。Encapsulates a URI that returns the next page of a paged WCF Data Services query result.

DataServiceQueryContinuation<T>

封裝 URI,該 URI 會傳回分頁 WCF Data Services 查詢結果的下一頁。Encapsulates a URI that returns the next page of a paged WCF Data Services query result.

DataServiceQueryException

表示從資料服務載入屬性值時發生錯誤的例外狀況。Exception that indicates an error occurred loading the property value from the data service.

DataServiceRequest

表示以批次送出至 WCF Data Services 的要求物件。Represents request objects submitted as a batch to WCF Data Services.

DataServiceRequest<TElement>

表示以批次送出至資料服務的要求物件。Represents request objects submitted as a batch to the data service.

DataServiceRequestArgs

表示傳送給 WCF Data Services 的要求訊息中包含的其他中繼資料。Represents additional metadata that is included in a request message to WCF Data Services.

DataServiceRequestException

表示如果資料服務傳回的回應碼小於200或大於299,或回應中的最上層元素 < 錯誤 > ,則擲回錯誤。Represents the error thrown if the data service returns a response code less than 200 or greater than 299, or the top-level element in the response is <error>. 此類別無法獲得繼承。This class cannot be inherited.

DataServiceResponse

表示傳送到資料服務的作業回應,做為呼叫 SaveChanges() 的結果。Represents the response to operations sent to the data service as a result of calling SaveChanges().

DataServiceStreamResponse

表示包含二進位資料作為資料流的 WCF Data Services 回應。Represents a response from WCF Data Services that contains binary data as a stream.

Descriptor

衍生 EntityDescriptor 的來源抽象類別。Abstract class from which EntityDescriptor is derived.

EntityChangedParams

封裝 PropertyChanged 委派的引數。Encapsulates the arguments of a PropertyChanged delegate.

EntityCollectionChangedParams

封裝 CollectionChanged 委派的引數。Encapsulates the arguments of a CollectionChanged delegate.

EntityDescriptor

對實體完成之修改 (由 DataServiceResponse 中傳回的作業所進行) 的說明。Description of modifications done to entities by operations returned in a DataServiceResponse.

LinkDescriptor

提供 DataServiceResponse 傳回的作業對實體所做修訂的描述。Provides a description of modifications done to entities by operations returned in a DataServiceResponse.

MediaEntryAttribute

表示指定的類別會被視為媒體連結項目。Signifies that the specified class is to be treated as a media link entry.

MimeTypePropertyAttribute

在類別上已標註具有 MediaEntryAttribute 的屬性進行標註。Annotates a property on a class that has been annotated with the MediaEntryAttribute.

OperationResponse

抽象類別,表示單一查詢的回應或建立、更新或刪除作業的回應。Abstract class that represents the response of a single query or create, update, or delete operation.

QueryOperationResponse

表示對 DataServiceQuery 的回應。Represents the responses to a DataServiceQuery.

QueryOperationResponse<T>

表示對 DataServiceQuery<TElement> 的回應。Represents the responses to a DataServiceQuery<TElement>.

ReadingWritingEntityEventArgs

提供實體的存取權和代表 Atom 項目的 XLinq 物件。Gives access to the entity and an XLinq object that represents an Atom entry. ReadingWritingEntityEventArgs 需搭配使用 ReadingEntityWritingEntity 事件。ReadingWritingEntityEventArgs is used with the ReadingEntity and WritingEntity events.

SendingRequestEventArgs

搭配 SendingRequest 事件使用,提供對用戶端即將傳送到目標資料服務之 HttpWebRequest 執行個體的存取。Used with the SendingRequest event to provide access to the HttpWebRequest instance that the client is about to send to the target data service.

列舉

EntityStates

表示列舉,識別 DataServiceContext 正在追蹤之實體的狀態。Represents the enumeration that identifies the state of an entity being tracked by the DataServiceContext.

MergeOption

決定傳送實體至 WCF Data Services 或從中接收實體的同步處理選項。Determines the synchronization option for sending or receiving entities to or from WCF Data Services.

SaveChangesOptions

表示呼叫 SaveChanges() 時的變更選項。Indicates change options when SaveChanges() is called.

TrackingMode

決定是否追蹤對 DataServiceCollection<T> 所進行的變更。Determines whether changes that are made to a DataServiceCollection<T> are tracked.