Share via


Application.CreateQueryTemplate Method (XmlReader)

Creates a new query template from its XML representation.v

Namespace:  Microsoft.ComplexEventProcessing
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public QueryTemplate CreateQueryTemplate(
    XmlReader queryTextReader
)

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.QueryTemplate
The new query template object being created.

Remarks

Apart from specifying query templates through LINQ, they can also be given directly in their low-level XML representation, according to the StreamInsight metadata XML schema (https://schemas.microsoft.com/ComplexEventProcessing).

You can inspect the XML translation of a registered query template that was given in LINQ through the property Definition.

See Also

Reference

Application Class

CreateQueryTemplate Overload

Microsoft.ComplexEventProcessing Namespace