CepStream<TPayload>.ToQuery Method (String, String, Type, Object, EventShape, StreamEventOrder)

Creates a query from the stream bound to an output adapter. The output adapter is specified by the type of the adapter factory and the configuration object. 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,
    Type adapterFactoryType,
    Object adapterConfig,
    EventShape eventShape,
    StreamEventOrder eventOrder
)

Parameters

  • adapterFactoryType
    Type: System.Type
    Type of the output adapter factory
  • adapterConfig
    Type: System.Object
    Configuration for the output adapter factory.

Return Value

Type: Microsoft.ComplexEventProcessing.Query
A runnable query that the user can then start, stop, or otherwise manage.

See Also

Reference

CepStream<TPayload> Class

ToQuery Overload

Microsoft.ComplexEventProcessing.Linq Namespace