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)

Syntax

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

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TOutputPayload>
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 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 User-Defined Stream Operators.

See Also

Reference

CepStream Class

Microsoft.ComplexEventProcessing.Linq Namespace