public static class DataContractSerializationUtils : object
| Member | Description | |
|---|---|---|
![]() ![]() |
LastError | |
![]() ![]() |
DeserializeBinary | Deserialize byte[] data public static object DeserializeBinary(Byte[] data,
Type type, bool throwExceptions); |
![]() ![]() |
DeserializeStream | Deserializes from a stream public static object DeserializeStream(Stream stream,
Type type, bool binary, bool throwExceptions); |
![]() ![]() |
DeserializeXmlString | Deserializes Xml from a string into an object public static object DeserializeXmlString(string xml,
Type type, bool throwExceptions); |
![]() ![]() |
SerializeToBinary | Serializes to Binary using the DataContractSerializer public static Byte[] SerializeToBinary(object value,
bool throwExceptions); |
![]() ![]() |
SerializeToStream | Serializes output into a stream that you pass in. You provide the stream and this method writes the data to it. public static bool SerializeToStream(object value,
Stream stream, bool binary, bool throwExceptions); |
![]() ![]() |
SerializeToXmlString | Serializes to Xml String using the DataContractSerializer public static string SerializeToXmlString(object value,
bool throwExceptions); |