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
)

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.QueryTemplate

New query template object being created.

Type Parameters

T

The type.

Return to top
Show: