EdgeEvent Class

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

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.EventInstance
    Microsoft.ComplexEventProcessing.UntypedEvent
      Microsoft.ComplexEventProcessing.EdgeEvent

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

Syntax

public sealed class EdgeEvent : UntypedEvent

The EdgeEvent type exposes the following members.

Properties

  Name Description
Public property EdgeType Gets the edge type.
Public property EndTime Gets or sets the end time of the event. This value is ignored if this is a Start edge event.
Public property EventKind Gets the event kind for the event. (Overrides UntypedEvent.EventKind.)
Public property StartTime Gets or sets the valid start time of the event.

Top

Methods

  Name Description
Public methodStatic member CreateCti<TPayload> Creates a CTI in a stream of edge events.
Public methodStatic member CreateEnd<TPayload> Creates an edge end event with the specified payload.
Public methodStatic member CreateStart<TPayload> Creates an edge start 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 edge event represents either the start or end of a CEP event. As opposed to single interval events, which are fully specified in terms of their start and end time, edge events need to be given in pairs. An edge event of type Start indicates the beginning of the event lifetime, and a matching End event indicates the end of the event lifetime.

Edge events are typically used to model a discrete signal, where the arrival of the new signal value is not known in advance. Such a pattern entails the submission of an end event regarding the previous start event, followed by a start event for the new value. Note that the end event has to match the start time of the Start event as well as the payload. For more information, 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