RemoteProvider.ToPointStreamable<TSource, TPayload> Method (IQueryable<TSource>, Expression<Func<TSource, PointEvent<TPayload>>>, AdvanceTimeSettings)
Converts sequence to temporal stream.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function ToPointStreamable(Of TSource, TPayload) ( _
source As IQueryable(Of TSource), _
selector As Expression(Of Func(Of TSource, PointEvent(Of TPayload))), _
advanceTimeSettings As AdvanceTimeSettings _
) As IQStreamable(Of TPayload)
'Usage
Dim source As IQueryable(Of TSource)
Dim selector As Expression(Of Func(Of TSource, PointEvent(Of TPayload)))
Dim advanceTimeSettings As AdvanceTimeSettings
Dim returnValue As IQStreamable(Of TPayload)
returnValue = source.ToPointStreamable(selector, _
advanceTimeSettings)
public static IQStreamable<TPayload> ToPointStreamable<TSource, TPayload>(
this IQueryable<TSource> source,
Expression<Func<TSource, PointEvent<TPayload>>> selector,
AdvanceTimeSettings advanceTimeSettings
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TPayload>
static IQStreamable<TPayload>^ ToPointStreamable(
IQueryable<TSource>^ source,
Expression<Func<TSource, PointEvent<TPayload>^>^>^ selector,
AdvanceTimeSettings^ advanceTimeSettings
)
static member ToPointStreamable :
source:IQueryable<'TSource> *
selector:Expression<Func<'TSource, PointEvent<'TPayload>>> *
advanceTimeSettings:AdvanceTimeSettings -> IQStreamable<'TPayload>
JScript does not support generic types and methods.
Type Parameters
- TSource
The input element type.
- TPayload
The payload type.
Parameters
- source
Type: System.Linq.IQueryable<TSource>
The remote sequence.
- selector
Type: System.Linq.Expressions.Expression<Func<TSource, PointEvent<TPayload>>>
The selector returning a stream event given an element of the input sequence.
- advanceTimeSettings
Type: Microsoft.ComplexEventProcessing.AdvanceTimeSettings
The advance time settings applied to incoming events.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TPayload>
The remote temporal stream.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryable<TSource>. 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).