This topic has not yet been rated - Rate this topic

DataServiceState.Deserialize Method

Windows Phone

March 22, 2012

Deserializes the DataServiceContext and DataServiceCollection<T> objects that were serialized by the Serialize() method.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)
public static DataServiceState Deserialize(
	string stateContent
)

Parameters

stateContent
Type: System.String
A string that represents the DataServiceContext and DataServiceCollection<T> objects that were serialized by the Serialize() method.

Return Value

Type: System.Data.Services.Client.DataServiceState
Returns a deserialized DataServiceState object. As applicable, deserialized DataServiceContext and DataServiceCollection<T> objects are placed in the DataServiceStateContext and RootCollections properties, respectively.

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)