Share via


IntervalEvent.CreateInsert<TPayload> 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<TPayload>(
    DateTimeOffset startTime,
    DateTimeOffset endTime,
    TPayload payload
)

Type Parameters

  • TPayload
    Type of the payload of the event.

Parameters

  • payload
    Type: TPayload
    Payload of the event.

Return Value

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

See Also

Reference

IntervalEvent Class

Microsoft.ComplexEventProcessing Namespace