Export (0) Print
Expand All

CepStream.Scan<TInputEvent, TInputPayload, TOutputPayload> Method

Scans an input stream using a user-defined stream operator.

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

public static CepStream<TOutputPayload> Scan<TInputEvent, TInputPayload, TOutputPayload>(
	this CepStream<TInputPayload> source,
	CepStreamOperator<TInputEvent, TInputPayload, TOutputPayload> initialState
)
where TInputEvent : TypedEvent<TInputPayload>

Type Parameters

TInputEvent

The type of the input event.

TInputPayload

The type of the input event payload.

TOutputPayload

The type of the output event payload.

Parameters

source
Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TInputPayload>
The CepStream to scan.
initialState
Type: Microsoft.ComplexEventProcessing.Extensibility.CepStreamOperator<TInputEvent, TInputPayload, TOutputPayload>
The initial state of the user-defined stream operator.

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TOutputPayload>
The stream produced by the user-defined stream operator.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CepStream<TInputPayload>. When you use instance method syntax to call this method, omit the first parameter. For more information, see http://msdn.microsoft.com/en-us/library/bb384936.aspx or http://msdn.microsoft.com/en-us/library/bb383977.aspx.
Show:
© 2014 Microsoft