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.
  • configInfo
    Type: System.Object
    Runtime configuration for the output adapter.

Remarks

For more information about untyped adapters, see StreamInsight Server Concepts and Creating Input and Output Adapters.

See Also

Reference

QueryBinder Class

AddConsumer Overload

Microsoft.ComplexEventProcessing Namespace