CepStream.ToPointEventStream<TPayload> Method

Changes the events in an input stream to point events by keeping only the event start times.

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

Syntax

public static CepStream<TPayload> ToPointEventStream<TPayload>(
    this CepStream<TPayload> source
)

Type Parameters

  • TPayload
    Type of the input event payload.

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>
A stream with events converted to point events.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CepStream<TPayload>. 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

For more information, see Time Stamp Modifications.

Examples

var pointStream = inputStream.ToPointEventStream();

See Also

Reference

CepStream Class

Microsoft.ComplexEventProcessing.Linq Namespace