CepWindowExtensionMethods.UserDefinedAggregate<TPayload, TUda, TAggregateOutput> Method

Calls a user-defined aggregate (UDA) in which the UDA does not take an additional expression to map the input event to the input that the UDA expects.

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

Syntax

public static TAggregateOutput UserDefinedAggregate<TPayload, TUda, TAggregateOutput>(
    this CepWindow<TPayload> window,
    Object configInfo
)
where TUda : CepAggregate<TPayload, TAggregateOutput>

Type Parameters

  • TPayload
    Payload type of window events.
  • TUda
    Input event type of the user-defined aggregate.
  • TAggregateOutput
    Event type of the aggregate output.

Parameters

  • configInfo
    Type: System.Object
    Initialization information for the aggregate.

Return Value

Type: TAggregateOutput
The output of the user-defined aggregate.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CepWindow<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(v=sql.105) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.105).

See Also

Reference

CepWindowExtensionMethods Class

Microsoft.ComplexEventProcessing.Linq Namespace