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
)
public:
Query^ ToQuery(
Application^ application,
String^ queryName,
String^ description,
EventShape eventShape,
StreamEventOrder eventOrder
)
member ToQuery :
application:Application *
queryName:string *
description:string *
eventShape:EventShape *
eventOrder:StreamEventOrder -> Query
Public Function ToQuery (
application As Application,
queryName As String,
description As String,
eventShape As EventShape,
eventOrder As StreamEventOrder
) As Query
Parameters
application
Type: Microsoft.ComplexEventProcessing.ApplicationThe application which will host the query.
queryName
Type: System.StringThe name of the query.
description
Type: System.StringThe description of the query.
eventShape
Type: Microsoft.ComplexEventProcessing.EventShapeThe shape of the query output stream.
eventOrder
Type: Microsoft.ComplexEventProcessing.StreamEventOrderThe expected event order.
Return Value
Type: Microsoft.ComplexEventProcessing.Query
The newly created query.
See Also
ToQuery Overload
CepStream<TPayload> Class
Microsoft.ComplexEventProcessing.Linq Namespace
Return to top