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

Syntax

public sealed class IntervalEvent<TPayload> : TypedEvent<TPayload>
generic<typename TPayload>
public ref class IntervalEvent sealed : TypedEvent<TPayload>
[<Sealed>]
type IntervalEvent<'TPayload> = 
    class
        inherit TypedEvent<'TPayload>
    end
Public NotInheritable Class IntervalEvent(Of TPayload)
    Inherits TypedEvent(Of TPayload)

Type Parameters

  • TPayload
    Payload of the interval event.

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 TypedEvent<TPayload>.)

System_CAPS_pubproperty Payload

Gets or sets the payload of the event.(Inherited from TypedEvent<TPayload>.)

System_CAPS_pubproperty StartTime

Gets or sets the start time of the event.

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateCti(DateTimeOffset)

Creates a CTI in a stream of interval events.

System_CAPS_pubmethodSystem_CAPS_static CreateInsert(DateTimeOffset, DateTimeOffset, TPayload)

Creates an interval event with the specified payload.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

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