ObservableCepStream.Where<TInput> Method

Filters events from an observable input stream using the specified filter expression.

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

Syntax

public static ICepObservable<TInput> Where<TInput>(
    this ICepObservable<TInput> source,
    Expression<Func<TInput, bool>> predicate
)

Type Parameters

  • TInput
    Type of the source.

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.ICepObservable<TInput>
The observable stream of filtered events..

Usage Note

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

ObservableCepStream Class

Microsoft.ComplexEventProcessing.Linq Namespace