Share via


IntervalEvent<TPayload> Class

Defines methods and properties that allow adapters and user-defined operators to create and access interval events

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.EventInstance
    Microsoft.ComplexEventProcessing.TypedEvent<TPayload>
      Microsoft.ComplexEventProcessing.IntervalEvent<TPayload>

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

Syntax

public sealed class IntervalEvent<TPayload> : TypedEvent<TPayload>

Type Parameters

  • TPayload
    Payload of the interval event.

The IntervalEvent<TPayload> type exposes the following members.

Properties

  Name Description
Public property EndTime Gets or sets the end time of the event.
Public property EventKind Gets the kind of the event. (Inherited from TypedEvent<TPayload>.)
Public property Payload Gets or sets the payload of the event. (Inherited from TypedEvent<TPayload>.)
Public property StartTime Gets or sets the start time of the event.

Top

Methods

  Name Description
Public methodStatic member CreateCti Creates a CTI in a stream of interval events.
Public methodStatic member CreateInsert Creates an interval event with the specified payload.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

An interval event represents an event payload that is valid from a start time to an end time. For more information on interval events, see StreamInsight Server Concepts.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ComplexEventProcessing Namespace