IntervalEvent<TPayload>.CreateInsert Method (DateTimeOffset, DateTimeOffset, TPayload)
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
)
public:
static IntervalEvent<TPayload>^ CreateInsert(
DateTimeOffset startTime,
DateTimeOffset endTime,
TPayload payload
)
static member CreateInsert :
startTime:DateTimeOffset *
endTime:DateTimeOffset *
payload:'TPayload -> IntervalEvent<'TPayload>
Public Shared Function CreateInsert (
startTime As DateTimeOffset,
endTime As DateTimeOffset,
payload As TPayload
) As IntervalEvent(Of TPayload)
Parameters
startTime
Type: System.DateTimeOffsetStart time of the interval event.
endTime
Type: System.DateTimeOffsetEnd time of the interval event.
payload
Type: TPayloadPayload of the event.
Return Value
Type: Microsoft.ComplexEventProcessing.IntervalEvent<TPayload>
The interval event.
See Also
IntervalEvent<TPayload> Class
Microsoft.ComplexEventProcessing Namespace
Return to top