CepStream<TPayload>.ToPublishedStreamQuery Method (Uri, String, String, EventShape, StreamEventOrder)

Creates a query with an output bound to an explicitly named published stream. The output of the query can be consumed through dynamic query composition. Only one query can produce events for a published stream at any given time.

Namespace:  Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public Query ToPublishedStreamQuery(
    Uri publishedStreamName,
    string queryName,
    string description,
    EventShape eventShape,
    StreamEventOrder eventOrder
)

Parameters

  • publishedStreamName
    Type: System.Uri
    Name of the published stream.

Return Value

Type: Microsoft.ComplexEventProcessing.Query
The newly created query.

Remarks

Multiple queries can consume events from a published stream at the same time; however, only one query can produce events for a published stream at any given time.

See Also

Reference

CepStream<TPayload> Class

ToPublishedStreamQuery Overload

Microsoft.ComplexEventProcessing.Linq Namespace