QueryBinder 类

表示一个客户端帮助器类,用于绑定查询生产者和使用者以便创建查询对象。

继承层次结构

System. . :: . .Object
  Microsoft.ComplexEventProcessing..::..QueryBinder

命名空间:  Microsoft.ComplexEventProcessing
程序集:  Microsoft.ComplexEventProcessing(在 Microsoft.ComplexEventProcessing.dll 中)

语法

public sealed class QueryBinder

QueryBinder 类型公开以下成员。

构造函数

  名称 说明
公共方法 QueryBinder 初始化 QueryBinder 类的新实例。

页首

属性

  名称 说明
公共属性 InputBindings 获取输入流绑定信息的集合。
公共属性 OutputBindings 获取输出流绑定信息的集合。
公共属性 QueryTemplate 获取此查询绑定器尝试绑定的查询模板。

页首

方法

  名称 说明
公共方法 AddConsumer(String, OutputAdapter, Object, EventShape, StreamEventOrder) 添加非类型化适配器作为事件使用者。
公共方法 AddConsumer< (Of < <' (PayloadT> ) > > )(String, OutputAdapter, Object, EventShape, StreamEventOrder) 添加适配器作为事件使用者。
公共方法 BindOutputToPublishedStream(EventShape, StreamEventOrder) 使用与查询相同的名称,将查询的输出绑定到默认的已发布流。
公共方法 BindOutputToPublishedStream(Uri, EventShape, StreamEventOrder) 将查询的输出绑定到显式命名的已发布流。
公共方法 BindProducer(String, Query) 将现有查询的输出事件流绑定到查询模板中的给定输入流。
公共方法 BindProducer(String, Query, AdvanceTimeSettings) 将现有查询的输出事件流绑定到查询模板中的给定输入流。
公共方法 BindProducer(String, Uri, EventShape) 将现有的已发布流绑定到查询模板中的给定输入流。
公共方法 BindProducer(String, InputAdapter, Object, EventShape) 将查询模板输入绑定到非类型化输入适配器。
公共方法 BindProducer(String, Uri, EventShape, AdvanceTimeSettings) 将现有的已发布流绑定到查询模板中的给定输入流。
公共方法 BindProducer(String, InputAdapter, Object, EventShape, AdvanceTimeSettings) 将查询模板输入绑定到非类型化输入适配器。
公共方法 BindProducer< (Of < <' (PayloadT> ) > > )(String, InputAdapter, Object, EventShape) 将查询模板输入绑定到输入适配器。
公共方法 BindProducer< (Of < <' (PayloadT> ) > > )(String, InputAdapter, Object, EventShape, AdvanceTimeSettings) 将查询模板输入绑定到输入适配器。
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ComplexEventProcessing 命名空间