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

 

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. The query can be specified to be resilient.

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,
    bool isResilient
)
public:
Query^ ToQuery(
    String^ queryName,
    String^ description,
    Type^ adapterFactoryType,
    Object^ adapterConfig,
    EventShape eventShape,
    StreamEventOrder eventOrder,
    bool isResilient
)
member ToQuery : 
        queryName:string *
        description:string *
        adapterFactoryType:Type *
        adapterConfig:Object *
        eventShape:EventShape *
        eventOrder:StreamEventOrder *
        isResilient:bool -> Query
Public Function ToQuery (
    queryName As String,
    description As String,
    adapterFactoryType As Type,
    adapterConfig As Object,
    eventShape As EventShape,
    eventOrder As StreamEventOrder,
    isResilient As Boolean
) As Query

Parameters

  • adapterFactoryType
    Type: System.Type

    The type of the output adapter factory.

  • adapterConfig
    Type: System.Object

    The configuration for the output adapter factory.

  • isResilient
    Type: System.Boolean

    true if the query is resilient; otherwise, false.

Return Value

Type: Microsoft.ComplexEventProcessing.Query

A runnable query that the user can then start, stop, or otherwise manage, and that is resilient when the value of isResilient is true.

Remarks

For more information, see Building Resilient StreamInsight Applications.

See Also

ToQuery Overload
CepStream<TPayload> Class
Microsoft.ComplexEventProcessing.Linq Namespace

Return to top