StreamEvent.CreateInterval<TPayload>(Int64, Int64, TPayload) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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