Application.CreateQuery Method (String, String, QueryBinder, Boolean)
Creates a query from a query binder and specifies whether the query is resilient.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public Query CreateQuery(
string name,
string description,
QueryBinder queryBinder,
bool isResilient
)
Parameters
- name
Type: System.String
Name for the query object in metadata.
- description
Type: System.String
Description for the query in metadata.
- queryBinder
Type: Microsoft.ComplexEventProcessing.QueryBinder
Binder object that contains the input and output binding information for the query.
- isResilient
Type: System.Boolean
true if the query is resilient; otherwise, false.
Return Value
Type: Microsoft.ComplexEventProcessing.Query
The new query object.
For more information, see Building Resilient StreamInsight Applications,