IntervalEvent Class

 

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

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

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.EventInstance
    Microsoft.ComplexEventProcessing.UntypedEvent
      Microsoft.ComplexEventProcessing.IntervalEvent

Syntax

public sealed class IntervalEvent : UntypedEvent
public ref class IntervalEvent sealed : UntypedEvent
[<Sealed>]
type IntervalEvent = 
    class
        inherit UntypedEvent
    end
Public NotInheritable Class IntervalEvent
    Inherits UntypedEvent

Properties

Name Description
System_CAPS_pubproperty EndTime

Gets or sets the end time of the event.

System_CAPS_pubproperty EventKind

Gets the kind of the event.(Inherited from UntypedEvent.)

System_CAPS_pubproperty StartTime

Gets or sets the start time of the event.

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateCti<TPayload>(DateTimeOffset)

Creates a CTI in a stream of interval events.

System_CAPS_pubmethodSystem_CAPS_static CreateInsert<TPayload>(DateTimeOffset, DateTimeOffset, TPayload)

Creates an interval event with the specified payload.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetField<T>(Int32)

Gets a field value by its ordinal.(Inherited from UntypedEvent.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SetField(Int32, Object)

Sets the value of the specified field, regardless of its type.(Inherited from UntypedEvent.)

System_CAPS_pubmethod SetField<T>(Int32, T)

Sets the field value specified by its ordinal.(Inherited from UntypedEvent.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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 NIB 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

Microsoft.ComplexEventProcessing Namespace

Return to top