IntervalEvent.CreateInsert<TPayload> 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<TPayload>(
DateTimeOffset startTime,
DateTimeOffset endTime,
TPayload payload
)
public:
generic<typename TPayload>
static IntervalEvent<TPayload>^ CreateInsert(
DateTimeOffset startTime,
DateTimeOffset endTime,
TPayload payload
)
static member CreateInsert<'TPayload> :
startTime:DateTimeOffset *
endTime:DateTimeOffset *
payload:'TPayload -> IntervalEvent<'TPayload>
Public Shared Function CreateInsert(Of TPayload) (
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.
Type Parameters
- TPayload
Type of the payload of the event.
See Also
IntervalEvent Class
Microsoft.ComplexEventProcessing Namespace
Return to top