XQuery.Serialize Method (Stream, DynamicContextSettings)XQuery.Serialize Method (Stream, DynamicContextSettings)XQuery::Serialize Method (Stream^, DynamicContextSettings^)
Syntax
Public Sub Serialize( _ stream As System.IO.Stream, _ settings As DynamicContextSettings _ )
public void Serialize( System.IO.Stream stream, DynamicContextSettings settings )
public: void Serialize( System.IO::Stream^ stream, DynamicContextSettings^ settings )
Parameters
- stream
Type: System.IO.StreamSystem.IO.StreamSystem.IO::Stream^
The StreamStreamStream 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 |
stream or settings is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | A dynamic error was encountered while evaluating the query. |