[This is preliminary documentation and is subject to change.]
Deserializes a serialized Object.
| C# | Visual Basic | Visual C++ |
public static T Deserialize<T>( Stream serializedObject, SerializationFormat serializationFormat )
Public Shared Function Deserialize(Of T) ( _ serializedObject As Stream, _ serializationFormat As SerializationFormat _ ) As T
public: generic<typename T> static T Deserialize( Stream^ serializedObject, SerializationFormat serializationFormat )
- serializationFormat (SerializationFormat)
- SerializationFormat in which the serializedObject was serialized.
The deserialized Object.
| Exception | Condition |
|---|---|
| ArgumentNullException |
serializedObject is null. |
| NotSupportedException | Specified serializationFormat is not supported. |