IntervalEvent 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.UntypedEvent
      Microsoft.ComplexEventProcessing.IntervalEvent

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

Syntax

public sealed class IntervalEvent : UntypedEvent

The IntervalEvent 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 UntypedEvent.)
Public property StartTime Gets or sets the start time of the event.

Top

Methods

  Name Description
Public methodStatic member CreateCti<TPayload> Creates a CTI in a stream of interval events.
Public methodStatic member CreateInsert<TPayload> Creates an interval event with the specified payload.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetField<T>(Int32) Gets a field value by its ordinal. (Inherited from UntypedEvent.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetField(Int32, Object) Sets the value of the specified field, regardless of its type. (Inherited from UntypedEvent.)
Public method SetField<T>(Int32, T) Sets the field value specified by its ordinal. (Inherited from UntypedEvent.)
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 about 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