ITypedDeclareEventProperties<TConfigInfo>.DeclareEventProperties<TPayload> Method
Declares the additional properties of the cepEventType given the adapter factory configuration and event shape information.
Namespace: Microsoft.ComplexEventProcessing.Adapters
Assembly: Microsoft.ComplexEventProcessing.Adapters (in Microsoft.ComplexEventProcessing.Adapters.dll)
Syntax
CepEventType DeclareEventProperties<TPayload>(
TConfigInfo configInfo,
EventShape eventShape,
CepEventType inputEventType
)
Type Parameters
- TPayload
Type of the payload.
Parameters
- configInfo
Type: TConfigInfo
Configuration information for the adapter factory.
- eventShape
Type: Microsoft.ComplexEventProcessing.EventShape
Shape of the events that must be produced by the adapter.
- inputEventType
Type: Microsoft.ComplexEventProcessing.CepEventType
Event type CEP engine expects the input adapter to provide.
Return Value
Type: Microsoft.ComplexEventProcessing.CepEventType
A decorated CepEventType that contains additional event fields information.