Share via


CepStream.Select<TInput, TResult> Method (CepWindowStream<CepWindow<TInput>>, Expression<Func<CepWindow<TInput>, TResult>>)

Maps a window stream to a stream based on a given mapping expression.

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

Syntax

public static CepStream<TResult> Select<TInput, TResult>(
    this CepWindowStream<CepWindow<TInput>> source,
    Expression<Func<CepWindow<TInput>, TResult>> selector
)

Type Parameters

  • TInput
    Input event payload type of the window.
  • TResult
    Result payload type.

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TResult>
A stream which is the union of all window streams.

Usage Note

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

See Also

Reference

CepStream Class

Select Overload

Microsoft.ComplexEventProcessing.Linq Namespace