QueryTemplate Class

Represents a query template metadata object.

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.CepObject
    Microsoft.ComplexEventProcessing.ApplicationObject
      Microsoft.ComplexEventProcessing.QueryTemplate

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

Syntax

public sealed class QueryTemplate : ApplicationObject

The QueryTemplate type exposes the following members.

Properties

  Name Description
Public property Application Gets the hosting application. (Inherited from ApplicationObject.)
Public property Definition The query template definition in the form of XML.
Public property Description Gets a description for this query template.
Public property Name Gets the name of this object. (Inherited from CepObject.)
Public property QueryTemplateInputs Gets the collection of inputs associated with this query template.
Public property ShortName Gets the short name of the CEP object. (Inherited from CepObject.)

Top

Methods

  Name Description
Public method Delete Deletes the query template from metadata. (Overrides ApplicationObject.Delete().)
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

Query templates define the desired query logic of a CEP application. A query template is usually defined through LINQ on top of a CepStream object. For more information, see Writing Query Templates in LINQ.

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