RemoteProvider.ToObservable<TPayload> Method (IQStreamable<TPayload>, StreamEventOrder)
Converts temporal stream to sequence.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function ToObservable(Of TPayload) ( _
source As IQStreamable(Of TPayload), _
order As StreamEventOrder _
) As IQbservable(Of TPayload)
'Usage
Dim source As IQStreamable(Of TPayload)
Dim order As StreamEventOrder
Dim returnValue As IQbservable(Of TPayload)
returnValue = source.ToObservable(order)
public static IQbservable<TPayload> ToObservable<TPayload>(
this IQStreamable<TPayload> source,
StreamEventOrder order
)
[ExtensionAttribute]
public:
generic<typename TPayload>
static IQbservable<TPayload>^ ToObservable(
IQStreamable<TPayload>^ source,
StreamEventOrder order
)
static member ToObservable :
source:IQStreamable<'TPayload> *
order:StreamEventOrder -> IQbservable<'TPayload>
JScript does not support generic types and methods.
Type Parameters
- TPayload
The payload type.
Parameters
- source
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TPayload>
The remote temporal stream.
- order
Type: Microsoft.ComplexEventProcessing.StreamEventOrder
The event output order.
Return Value
Type: System.Reactive.Linq.IQbservable<TPayload>
The remote sequence.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQStreamable<TPayload>. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=sql.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.111).