Share via


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.

Rückgabewert

Typ: Microsoft.ComplexEventProcessing.Adapters. . :: . .InputAdapterBase
Eine Instanz des Eingabeadapters.

Siehe auch

Verweis

ITypedInputAdapterFactory< (Of < ( <'TConfigInfo> ) > ) > Schnittstelle

Microsoft.ComplexEventProcessing.Adapters-Namespace