RemoteProvider.ToEdgeStreamable<TSource, TPayload> Method (Func<Nullable<DateTimeOffset>, IQueryable<TSource>>, Expression<Func<TSource, EdgeEvent<TPayload>>>, AdvanceTimeSettings)

Converts sequence parameterized on high-water mark for replay in checkpoints to temporal stream.

Namespace:  Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ToEdgeStreamable(Of TSource, TPayload) ( _
    source As Func(Of Nullable(Of DateTimeOffset), IQueryable(Of TSource)), _
    selector As Expression(Of Func(Of TSource, EdgeEvent(Of TPayload))), _
    advanceTimeSettings As AdvanceTimeSettings _
) As IQStreamable(Of TPayload)
'Usage
Dim source As Func(Of Nullable(Of DateTimeOffset), IQueryable(Of TSource))
Dim selector As Expression(Of Func(Of TSource, EdgeEvent(Of TPayload)))
Dim advanceTimeSettings As AdvanceTimeSettings 
Dim returnValue As IQStreamable(Of TPayload)

returnValue = source.ToEdgeStreamable(selector, _
    advanceTimeSettings)
public static IQStreamable<TPayload> ToEdgeStreamable<TSource, TPayload>(
    this Func<Nullable<DateTimeOffset>, IQueryable<TSource>> source,
    Expression<Func<TSource, EdgeEvent<TPayload>>> selector,
    AdvanceTimeSettings advanceTimeSettings
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TPayload>
static IQStreamable<TPayload>^ ToEdgeStreamable(
    Func<Nullable<DateTimeOffset>, IQueryable<TSource>^>^ source, 
    Expression<Func<TSource, EdgeEvent<TPayload>^>^>^ selector, 
    AdvanceTimeSettings^ advanceTimeSettings
)
static member ToEdgeStreamable : 
        source:Func<Nullable<DateTimeOffset>, IQueryable<'TSource>> * 
        selector:Expression<Func<'TSource, EdgeEvent<'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.Func<Nullable<DateTimeOffset>, IQueryable<TSource>>
    The remote function that returns a sequence given the high-water mark for the last completed checkpoint. Where no checkpoint has completed, the high-water mark value is null.

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 Func<Nullable<DateTimeOffset>, 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).

See Also

Reference

RemoteProvider Class

ToEdgeStreamable Overload

Microsoft.ComplexEventProcessing.Linq Namespace