CepStream<TPayload>.ToQuery Method (String, String, EventShape, StreamEventOrder)
Creates a query from the stream with an unbound output. 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. The application this query will run in is implied by the definition of the stream.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public Query ToQuery(
string queryName,
string description,
EventShape eventShape,
StreamEventOrder eventOrder
)
Parameters
- queryName
Type: System.String
Name of the query.
- description
Type: System.String
Description of the query.
- eventShape
Type: Microsoft.ComplexEventProcessing.EventShape
Expected event shape that is going to be sent to the output stream.
- eventOrder
Type: Microsoft.ComplexEventProcessing.StreamEventOrder
Expected event order.
Return Value
Type: Microsoft.ComplexEventProcessing.Query
The newly created query.