DataServiceState Class
Windows Phone
March 22, 2012
Represents the state of an Open Data Protocol (OData) service.
Namespace:
System.Data.Services.Client
Assembly: System.Data.Services.Client (in System.Data.Services.Client.dll)
XMLNS for XAML: Not mapped to an xmlns.
The DataServiceState type exposes the following members.
| Name | Description | |
|---|---|---|
|
DataServiceState | The DataServiceState object helps Windows Phone applications handle tombstoning by preserving and restoring the state of DataServiceContext and DataServiceCollection<T> objects. |
| Name | Description | |
|---|---|---|
|
Context | The DataServiceContext object that is root of the tracked DataServiceCollection<T> objects that are specified in the RootCollections property. |
|
RootCollections | The DataServiceCollection<T> objects that were deserialized by the Deserialize(String) method. |
| Name | Description | |
|---|---|---|
|
Deserialize | Deserializes the DataServiceContext and DataServiceCollection<T> objects that were serialized by the Serialize() method. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
Serialize(DataServiceContext) | Serializes a DataServiceContext object. |
|
Serialize(DataServiceContext, Dictionary<String, Object>) | Serializes a DataServiceContext object and a System.Collections.Generic.Dictionary{System.String,System.Object} of DataServiceCollection<T> objects. |
|
ToString | (Inherited from Object.) |
The DataServiceState object helps Windows Phone applications handle tombstoning by preserving and restoring the state of DataServiceContext and DataServiceCollection<T> objects.