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 | |
---|---|---|
Application | Gets the hosting application.(Inherited from ApplicationObject.) |
|
ClrType | Gets the Common Language Runtime (CLR) type equivalent of the CEP event type. |
|
Fields | Gets the collection of fields of the event type by their name, ordered lexicographically. |
|
FieldsByOrdinal | Gets the collection of fields of the event type by ordinal. |
|
Name | Gets the name of this object.(Inherited from CepObject.) |
|
ShortName | Gets the short name of the CEP object. (Inherited from CepObject.) |
Methods
Name | Description | |
---|---|---|
Delete() | Deletes the object.(Inherited from ApplicationObject.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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