ObservableCepStream.ToIntervalObservable<TPayload> Method (CepStream<TPayload>, StreamEventOrder)
Converts a CepStream of interval events with the specified event order to an event sink that implements the IObservable interface.
Assembly: Microsoft.ComplexEventProcessing.Observable (in Microsoft.ComplexEventProcessing.Observable.dll)
public static ICepObservable<IntervalEvent<TPayload>> ToIntervalObservable<TPayload>( this CepStream<TPayload> stream, StreamEventOrder streamEventOrder )
The fully bound event source from which the observable event sink is created.
One of the enumeration values that specifies how events are ordered.
Return ValueType: Microsoft.ComplexEventProcessing.Linq.ICepObservable<IntervalEvent< >>
An event sink that supports observation.
Type of the event payload.
Calling the Subscribe method of the observable event sink initializes and starts a query. The query is deleted when the subscription is disposed.
The ICepObservable<T> interface includes an overload of Subscribe that lets you specify a name and description for the query. These additional properties are useful for debugging.
For more information about the data types that are supported in the payload of an event, see Event Structure.