[This is preliminary documentation and is subject to change.]
Deserializes a serialized Object.
Declaration Syntax
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 )
Parameters
- serializationFormat (SerializationFormat)
- SerializationFormat in which the serializedObject was serialized.
Return Value
The deserialized Object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException |
serializedObject is null. |
NotSupportedException | Specified serializationFormat is not supported. |