TypedIntervalInputAdapter<TPayload>.Enqueue Method (IntervalEvent<TPayload>)
Enqueues an event into the stream associated with this adapter.
Namespace: Microsoft.ComplexEventProcessing.Adapters
Assembly: Microsoft.ComplexEventProcessing.Adapters (in Microsoft.ComplexEventProcessing.Adapters.dll)
Syntax
public EnqueueOperationResult Enqueue(
ref IntervalEvent<TPayload> eventInstance
)
public:
virtual EnqueueOperationResult Enqueue(
IntervalEvent<TPayload>^% eventInstance
) sealed
abstract Enqueue :
eventInstance:IntervalEvent<'TPayload> byref -> EnqueueOperationResult
override Enqueue :
eventInstance:IntervalEvent<'TPayload> byref -> EnqueueOperationResult
Public Function Enqueue (
ByRef eventInstance As IntervalEvent(Of TPayload)
) As EnqueueOperationResult
Parameters
eventInstance
Type: Microsoft.ComplexEventProcessing.IntervalEvent<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
TypedIntervalInputAdapter<TPayload> Class
Microsoft.ComplexEventProcessing.Adapters Namespace
Return to top