Share via


CepEventType Class

Represents an event type that is used by a CEP application. Event payloads as well as their fields have associated CEP event types.

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.CepObject
    Microsoft.ComplexEventProcessing.ApplicationObject
      Microsoft.ComplexEventProcessing.CepEventType

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

Syntax

public sealed class CepEventType : ApplicationObject

The CepEventType type exposes the following members.

Properties

  Name Description
Public property Application Gets the hosting application. (Inherited from ApplicationObject.)
Public property ClrType Gets the Common Language Runtime (CLR) type equivalent of the CEP event type.
Public property Fields Gets the collection of fields of the event type by their name, ordered lexicographically.
Public property FieldsByOrdinal Gets the collection of fields of the event type by ordinal.
Public property Name Gets the name of this object. (Inherited from CepObject.)
Public property ShortName Gets the short name of the CEP object. (Inherited from CepObject.)

Top

Methods

  Name Description
Public method Delete Deletes the object. (Inherited from ApplicationObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field _name Name of the CepObject, which is a full Uri path. (Inherited from CepObject.)
Protected field _shortName Short name of the CepObject, without the full Uri path. (Inherited from CepObject.)

Top

Remarks

An event type defines the structure of CEP events. A CEP stream is always of one specific event type and thus can contain only events with this structure. An event type is based on a CLR struct or class and as such implicitly registered with an application when necessary. The registration of a LINQ query template object in an application, for instance, implicitly creates the input and output event types in that application, based on the CLR types that are input and result of the LINQ statement.

An event type contains a list of atomic fields, which in turn are of a certain CEP event type.

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