CepStream.ToEnumerable<TPayload> Method (CepStream<TPayload>)

Converts a stream of events to enumerable output by removing event headers and discarding CTI events.

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

public static ICepEnumerable<TPayload> ToEnumerable<TPayload>(
	this CepStream<TPayload> stream

Type Parameters


Type of the event payload.


Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>
Stream of events to convert.

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TPayload>
Enumerable output.

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.aspx or https://msdn.microsoft.com/en-us/library/bb383977.aspx.