Share via


CepWindowExtensionMethods.Count<TPayload> Method

Computes the count of events in the window.

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

Syntax

public static long Count<TPayload>(
    this CepWindow<TPayload> window
)

Type Parameters

  • TPayload
    Payload type of window events.

Parameters

Return Value

Type: System.Int64
A value that contains the count of events.

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