Note
The reader position must be before the content to deserialize.
public static Object? DeserializeUnsafe(
XmlReader reader
)Public Shared Function DeserializeUnsafe (
reader As XmlReader
) As Objectpublic:
static Object^ DeserializeUnsafe(
XmlReader^ reader
)static member DeserializeUnsafe :
reader : XmlReader -> Object | ArgumentNullException | reader must not be . |
| NotSupportedException | Deserializing an inner type is not supported. |
| ReflectionException | An inner type cannot be instantiated or serialized XML content is corrupt. |
| ArgumentException | XML content is inconsistent or corrupt. |
| XmlException | An error occurred while parsing the XML. |