Share via


StreamEvent.CreateInterval<TPayload>(Int64, Int64, TPayload) Method

Definition

Create an interval event.

public static Microsoft.StreamProcessing.StreamEvent<TPayload> CreateInterval<TPayload> (long startTime, long endTime, TPayload payload);
static member CreateInterval : int64 * int64 * 'Payload -> Microsoft.StreamProcessing.StreamEvent<'Payload>
Public Function CreateInterval(Of TPayload) (startTime As Long, endTime As Long, payload As TPayload) As StreamEvent(Of TPayload)

Type Parameters

TPayload

Parameters

startTime
Int64

Start timestamp of the event

endTime
Int64

End timestamp of the event

payload
TPayload

Payload of the event

Returns

An event instance

Applies to