[This is preliminary documentation and is subject to change.]
Parses the source of the XmlReader into a SifElement object.
| C# | Visual Basic | Visual C++ |
public SifElement Parse( XmlReader reader, IZone zone, SifParserFlags flags, SifVersion version )
Public Function Parse ( _ reader As XmlReader, _ zone As IZone, _ flags As SifParserFlags, _ version As SifVersion _ ) As SifElement
public: SifElement^ Parse ( XmlReader^ reader, IZone^ zone, SifParserFlags flags, SifVersion^ version )
- reader (XmlReader)
- The reader containing the Xml data to be parsed
- zone (IZone)
- The Zone from which the message was received, or null if not applicable or not known
- flags (SifParserFlags)
- The flags to use for parsing
- version (SifVersion)
- The version of SIF that will be associated with the returned object.
A SifElement object encapsulating the message payload (e.g.
a Edustructures.SifWorks.student.StudentPersonal object)
| Exception | Condition |
|---|---|
| AdkParsingException | AdkParsingException is thrown if unable to
parse the message |
| IOException | IOException is thrown if an error is reported while reading
the message content |