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)
Syntax
public QueryTemplate CreateQueryTemplate<T>(
string queryTemplateName,
string description,
CepStream<T> streamDefinition
)
public:
generic<typename T>
QueryTemplate^ CreateQueryTemplate(
String^ queryTemplateName,
String^ description,
CepStream<T>^ streamDefinition
)
member CreateQueryTemplate<'T> :
queryTemplateName:string *
description:string *
streamDefinition:CepStream<'T> -> QueryTemplate
Public Function CreateQueryTemplate(Of T) (
queryTemplateName As String,
description As String,
streamDefinition As CepStream(Of T)
) As QueryTemplate
Parameters
queryTemplateName
Type: System.StringName for the query template in metadata.
description
Type: System.StringDescription 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.
See Also
CreateQueryTemplate Overload
Application Class
Microsoft.ComplexEventProcessing Namespace
Return to top