IntervalEvent<TPayload>.CreateInsert Method

Creates an interval event with the specified payload.

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

Syntax

public static IntervalEvent<TPayload> CreateInsert(
    DateTimeOffset startTime,
    DateTimeOffset endTime,
    TPayload payload
)

Parameters

  • payload
    Type: TPayload
    Payload of the event.

Return Value

Type: Microsoft.ComplexEventProcessing.IntervalEvent<TPayload>
The interval event.

See Also

Reference

IntervalEvent<TPayload> Class

Microsoft.ComplexEventProcessing Namespace