QueryBinder.AddConsumer<PayloadT> 方法 (String, OutputAdapter, Object, EventShape, StreamEventOrder)

 

加入配接器做為事件取用者。

命名空間:   Microsoft.ComplexEventProcessing
組件:  Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)

語法

public void AddConsumer<PayloadT>(
    string streamConsumerName,
    OutputAdapter outputAdapter,
    object configInfo,
    EventShape eventShape,
    StreamEventOrder streamEventOrder
)
public:
generic<typename PayloadT>
void AddConsumer(
    String^ streamConsumerName,
    OutputAdapter^ outputAdapter,
    Object^ configInfo,
    EventShape eventShape,
    StreamEventOrder streamEventOrder
)
member AddConsumer<'PayloadT> : 
        streamConsumerName:string *
        outputAdapter:OutputAdapter *
        configInfo:Object *
        eventShape:EventShape *
        streamEventOrder:StreamEventOrder -> unit
Public Sub AddConsumer(Of PayloadT) (
    streamConsumerName As String,
    outputAdapter As OutputAdapter,
    configInfo As Object,
    eventShape As EventShape,
    streamEventOrder As StreamEventOrder
)

參數

  • streamConsumerName
    資料流取用者名稱,用於唯一識別取用者。
  • outputAdapter
    要繫結的輸出配接器中繼資料物件。
  • configInfo
    輸出配接器的執行階段組態。
  • eventShape
    輸出資料流所需的事件圖形。
  • streamEventOrder
    輸出資料流所需的事件順序。

類型參數

  • PayloadT
    輸出資料流裝載類型。

備註

如需有關不具型別配接器的詳細資訊,請參閱 StreamInsight 伺服器概念建立輸入和輸出配接器

請參閱

AddConsumer 超載
QueryBinder 類別
Microsoft.ComplexEventProcessing 命名空間

回到頁首