TypedEdgeInputAdapter<TPayload>.Enqueue Method (EdgeEvent<TPayload>)
Enqueues the specified event into the stream that is associated with this adapter.
Namespace: Microsoft.ComplexEventProcessing.Adapters
Assembly: Microsoft.ComplexEventProcessing.Adapters (in Microsoft.ComplexEventProcessing.Adapters.dll)
Syntax
public EnqueueOperationResult Enqueue(
ref EdgeEvent<TPayload> eventInstance
)
public:
virtual EnqueueOperationResult Enqueue(
EdgeEvent<TPayload>^% eventInstance
) sealed
abstract Enqueue :
eventInstance:EdgeEvent<'TPayload> byref -> EnqueueOperationResult
override Enqueue :
eventInstance:EdgeEvent<'TPayload> byref -> EnqueueOperationResult
Public Function Enqueue (
ByRef eventInstance As EdgeEvent(Of TPayload)
) As EnqueueOperationResult
Parameters
eventInstance
Type: Microsoft.ComplexEventProcessing.EdgeEvent<TPayload>Event instance.
Return Value
Type: Microsoft.ComplexEventProcessing.Adapters.EnqueueOperationResult
EnqueueOperationResult.Success if the operation succeeded.
EnqueueOperationResult.Full if the operation did not succeed because the queue is full.
Type Parameters
- TPayload
The type of the event payload.
See Also
TypedEdgeInputAdapter<TPayload> Class
Microsoft.ComplexEventProcessing.Adapters Namespace
Return to top