PointEvent<TPayload>.CreateInsert Method (DateTimeOffset, TPayload)
Creates a point event with the specified payload.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public static PointEvent<TPayload> CreateInsert(
DateTimeOffset startTime,
TPayload payload
)
public:
static PointEvent<TPayload>^ CreateInsert(
DateTimeOffset startTime,
TPayload payload
)
static member CreateInsert :
startTime:DateTimeOffset *
payload:'TPayload -> PointEvent<'TPayload>
Public Shared Function CreateInsert (
startTime As DateTimeOffset,
payload As TPayload
) As PointEvent(Of TPayload)
Parameters
startTime
Type: System.DateTimeOffsetTimestamp of the point event.
payload
Type: TPayloadPayload of the event.
Return Value
Type: Microsoft.ComplexEventProcessing.PointEvent<TPayload>
The point event.
See Also
PointEvent<TPayload> Class
Microsoft.ComplexEventProcessing Namespace
Return to top