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.

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

Inheritance Hierarchy

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

Syntax

public sealed class CepEventType : ApplicationObject
public ref class CepEventType sealed : ApplicationObject
[<Sealed>]
type CepEventType = 
    class
        inherit ApplicationObject
    end
Public NotInheritable Class CepEventType
    Inherits ApplicationObject

Properties

Name Description
System_CAPS_pubproperty Application

Gets the hosting application.(Inherited from ApplicationObject.)

System_CAPS_pubproperty ClrType

Gets the Common Language Runtime (CLR) type equivalent of the CEP event type.

System_CAPS_pubproperty Fields

Gets the collection of fields of the event type by their name, ordered lexicographically.

System_CAPS_pubproperty FieldsByOrdinal

Gets the collection of fields of the event type by ordinal.

System_CAPS_pubproperty Name

Gets the name of this object.(Inherited from CepObject.)

System_CAPS_pubproperty ShortName

Gets the short name of the CEP object. (Inherited from CepObject.)

Methods

Name Description
System_CAPS_pubmethod Delete()

Deletes the object.(Inherited from ApplicationObject.)

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

Microsoft.ComplexEventProcessing Namespace

Return to top