Create(TPayload)-Methode
Diese Schnittstelle muss von Factoryklassen implementiert werden, die typisierte Eingabeadapter erzeugen.
Namespace: Microsoft.ComplexEventProcessing.Adapters
Assembly: Microsoft.ComplexEventProcessing.Adapters (in Microsoft.ComplexEventProcessing.Adapters.dll)
Syntax
InputAdapterBase Create<TPayload>(
TConfigInfo configInfo,
EventShape eventShape
)
Typparameter
- TPayload
Der Typ der Nutzlast, die von diesem Adapter erstellt wird.
Parameter
- configInfo
Typ: TConfigInfo
Konfigurationsinformationen für den Adapter.
- eventShape
Typ: Microsoft.ComplexEventProcessing. . :: . .EventShape
Die Form der Ereignisse, die vom Adapter erzeugt werden müssen.
Rückgabewert
Typ: Microsoft.ComplexEventProcessing.Adapters. . :: . .InputAdapterBase
Eine Instanz des Eingabeadapters.
Siehe auch
Verweis
ITypedInputAdapterFactory< (Of < ( <'TConfigInfo> ) > ) > Schnittstelle