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 | |
---|---|---|
EndTime | Gets or sets the end time of the event. |
|
EventKind | Gets the kind of the event.(Inherited from UntypedEvent.) |
|
StartTime | Gets or sets the start time of the event. |
Methods
Name | Description | |
---|---|---|
CreateCti<TPayload>(DateTimeOffset) | Creates a CTI in a stream of interval events. |
|
CreateInsert<TPayload>(DateTimeOffset, DateTimeOffset, TPayload) | Creates an interval event with the specified payload. |
|
Equals(Object) | (Inherited from Object.) |
|
GetField<T>(Int32) | Gets a field value by its ordinal.(Inherited from UntypedEvent.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
SetField(Int32, Object) | Sets the value of the specified field, regardless of its type.(Inherited from UntypedEvent.) |
|
SetField<T>(Int32, T) | Sets the field value specified by its ordinal.(Inherited from UntypedEvent.) |
|
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