Application.CreateQuery Method (String, String, QueryBinder)

Creates a query from a query binder.

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

Syntax

public Query CreateQuery(
    string name,
    string description,
    QueryBinder queryBinder
)

Parameters

  • name
    Type: System.String
    Name for the query object in metadata.
  • description
    Type: System.String
    Description for the query in metadata.

Return Value

Type: Microsoft.ComplexEventProcessing.Query
The new query object being generated.

Exceptions

Exception Condition
InvalidDefinitionException

The exception that is thrown when the query creation fails, for example, due to missing bindings in the query binder.

See Also

Reference

Application Class

CreateQuery Overload

Microsoft.ComplexEventProcessing Namespace