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
- 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.