Freigeben über


CreateInsert(TPayload)-Methode

Erstellt ein Intervallereignis mit der angegebenen Nutzlast.

Namespace:  Microsoft.ComplexEventProcessing
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public static IntervalEvent<TPayload> CreateInsert<TPayload>(
    DateTimeOffset startTime,
    DateTimeOffset endTime,
    TPayload payload
)

Typparameter

  • TPayload
    Der Typ der Nutzlast für das Ereignis.

Parameter

  • payload
    Typ: TPayload
    Die Nutzlast für das Ereignis.

Rückgabewert

Typ: Microsoft.ComplexEventProcessing. . :: . .IntervalEvent< (Of < ( <'TPayload> ) > ) >
Das Intervallereignis.

Siehe auch

Verweis

IntervalEvent Klasse

Microsoft.ComplexEventProcessing-Namespace