Application.CreateQueryTemplate<T> Method (String, String, CepStream<T>)
Creates a new query template from a LINQ expression.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
public QueryTemplate CreateQueryTemplate<T>( string queryTemplateName, string description, CepStream<T> streamDefinition )
Type Parameters
- T
Parameters
- queryTemplateName
- Type: System.String
Name for the query template in metadata.
- description
- Type: System.String
Description of the query template.
- streamDefinition
- Type: Microsoft.ComplexEventProcessing.Linq.CepStream<T>
Query template definition.
Return Value
Type: Microsoft.ComplexEventProcessing.QueryTemplateNew query template object being created.