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 | |
---|---|---|
EndTime | Gets or sets the end time of the event. |
|
EventKind | Gets the kind of the event.(Inherited from TypedEvent<TPayload>.) |
|
Payload | Gets or sets the payload of the event.(Inherited from TypedEvent<TPayload>.) |
|
StartTime | Gets or sets the start time of the event. |
Methods
Name | Description | |
---|---|---|
CreateCti(DateTimeOffset) | Creates a CTI in a stream of interval events. |
|
CreateInsert(DateTimeOffset, DateTimeOffset, TPayload) | Creates an interval event with the specified payload. |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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