PartitionedStreamEvent.CreatePoint<TKey,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 a point event (an interval event of length one).
public static Microsoft.StreamProcessing.PartitionedStreamEvent<TKey,TPayload> CreatePoint<TKey,TPayload> (TKey key, long startTime, TPayload payload);
static member CreatePoint : 'Key * int64 * 'Payload -> Microsoft.StreamProcessing.PartitionedStreamEvent<'Key, 'Payload>
Public Function CreatePoint(Of TKey, TPayload) (key As TKey, startTime As Long, payload As TPayload) As PartitionedStreamEvent(Of TKey, TPayload)
Type Parameters
- TKey
The type of the partition key for this event.
- TPayload
The type of the underlying event.
Parameters
- key
- TKey
The partition to which the event belongs
- startTime
- Int64
Timestamp of the point event
- payload
- TPayload
Payload of the event
Returns
An event instance