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
- startTime
Type: System.DateTimeOffset
Start time of the interval event.
- endTime
Type: System.DateTimeOffset
End time of the interval event.
- payload
Type: TPayload
Payload of the event.
Return Value
Type: Microsoft.ComplexEventProcessing.IntervalEvent<TPayload>
The interval event.