XQuery.Serialize Method (XmlWriter, DynamicContextSettings)XQuery.Serialize Method (XmlWriter, DynamicContextSettings)XQuery::Serialize Method (XmlWriter^, DynamicContextSettings^)
Syntax
Public Sub Serialize( _ writer As System.Xml.XmlWriter, _ settings As DynamicContextSettings _ )
public void Serialize( System.Xml.XmlWriter writer, DynamicContextSettings settings )
public: void Serialize( System.Xml::XmlWriter^ writer, DynamicContextSettings^ settings )
Parameters
- writer
Type: System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter^
The XmlWriterXmlWriterXmlWriter to which the result of the query will be written.
- settings
Type: XmlPrime.DynamicContextSettingsXmlPrime.DynamicContextSettingsXmlPrime::DynamicContextSettings^
The settings of the dynamic evaluation context.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
writer or settings is null
a null reference (Nothing in Visual Basic)
nullptr .
|
InvalidOperationExceptionInvalidOperationExceptionInvalidOperationException | The query is an updating expression. |
XdmExceptionXdmExceptionXdmException | A dynamic error was encountered while evaluating the query. |