QueryBinder.AddConsumer<PayloadT> Method (String, OutputAdapter, Object, EventShape, StreamEventOrder)
Adds an adapter as an event consumer.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public void AddConsumer<PayloadT>(
string streamConsumerName,
OutputAdapter outputAdapter,
Object configInfo,
EventShape eventShape,
StreamEventOrder streamEventOrder
)
Type Parameters
- PayloadT
The output stream payload type.
Parameters
- streamConsumerName
Type: System.String
Stream consumer name, used to uniquely identify the consumer.
- outputAdapter
Type: Microsoft.ComplexEventProcessing.OutputAdapter
Output adapter metadata object to be bound.
- configInfo
Type: System.Object
Runtime configuration for the output adapter.
- eventShape
Type: Microsoft.ComplexEventProcessing.EventShape
Desired event shape of the output stream.
- streamEventOrder
Type: Microsoft.ComplexEventProcessing.StreamEventOrder
Desired event order in the output stream.
Remarks
For more information about untyped adapters, see StreamInsight Server Concepts and Creating Input and Output Adapters.