Share via


DynamicQueryCompositionExtensions.ToStream<TPayload> Method (Query, AdvanceTimeSettings)

Creates a new input stream with given advance time settings bound to the output event stream of an existing query.

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

Syntax

public static CepStream<TPayload> ToStream<TPayload>(
    this Query query,
    AdvanceTimeSettings advanceTimeSettings
)

Type Parameters

  • TPayload
    Type of the payload for the new stream.

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>
An instance of the CepStream class that can be used to create new queries.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Query. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=sql.105) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.105).

Remarks

The specified AdvanceTimeSettings object provides the option to advance application time in addition to the current time increment events in the output stream of the existing query.

See Also

Reference

DynamicQueryCompositionExtensions Class

ToStream Overload

Microsoft.ComplexEventProcessing Namespace