PointEvent.CreateInsert<TPayload> 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<TPayload>(
    DateTimeOffset startTime,
    TPayload payload
)
public:
generic<typename TPayload>
static PointEvent<TPayload>^ CreateInsert(
    DateTimeOffset startTime,
    TPayload payload
)
static member CreateInsert<'TPayload> : 
        startTime:DateTimeOffset *
        payload:'TPayload -> PointEvent<'TPayload>
Public Shared Function CreateInsert(Of TPayload) (
    startTime As DateTimeOffset,
    payload As TPayload
) As PointEvent(Of TPayload)

Parameters

  • payload
    Type: TPayload

    Payload of the event.

Return Value

Type: Microsoft.ComplexEventProcessing.PointEvent<TPayload>

The point event.

Type Parameters

  • TPayload
    Type of the event payload.

See Also

PointEvent Class
Microsoft.ComplexEventProcessing Namespace

Return to top