CepStream<TPayload>.ToQuery Method (Application, String, String, EventShape, StreamEventOrder)
Creates a query from the stream with an unbound output running in the specified application. All inputs to the query must be bound to adapters, sequences or other queries. The output of the query can be consumed through dynamic query composition only.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public Query ToQuery(
Application application,
string queryName,
string description,
EventShape eventShape,
StreamEventOrder eventOrder
)
Parameters
- application
Type: Microsoft.ComplexEventProcessing.Application
Application which will host the query.<
- queryName
Type: System.String
Name of the query.<
- description
Type: System.String
Description of the query.
- eventShape
Type: Microsoft.ComplexEventProcessing.EventShape
Shape of the query output stream.
- eventOrder
Type: Microsoft.ComplexEventProcessing.StreamEventOrder
Expected event order.
Return Value
Type: Microsoft.ComplexEventProcessing.Query
The newly created query.