RemoteProvider.ToStreamable<TPayload> Method (Func<Nullable<DateTimeOffset>, IQueryable<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 ToStreamable(Of TPayload) ( _
source As Func(Of Nullable(Of DateTimeOffset), IQueryable(Of EdgeEvent(Of TPayload))), _
advanceTimeSettings As AdvanceTimeSettings _
) As IQStreamable(Of TPayload)
'Usage
Dim source As Func(Of Nullable(Of DateTimeOffset), IQueryable(Of EdgeEvent(Of TPayload)))
Dim advanceTimeSettings As AdvanceTimeSettings
Dim returnValue As IQStreamable(Of TPayload)
returnValue = source.ToStreamable(advanceTimeSettings)
public static IQStreamable<TPayload> ToStreamable<TPayload>(
this Func<Nullable<DateTimeOffset>, IQueryable<EdgeEvent<TPayload>>> source,
AdvanceTimeSettings advanceTimeSettings
)
[ExtensionAttribute]
public:
generic<typename TPayload>
static IQStreamable<TPayload>^ ToStreamable(
Func<Nullable<DateTimeOffset>, IQueryable<EdgeEvent<TPayload>^>^>^ source,
AdvanceTimeSettings^ advanceTimeSettings
)
static member ToStreamable :
source:Func<Nullable<DateTimeOffset>, IQueryable<EdgeEvent<'TPayload>>> *
advanceTimeSettings:AdvanceTimeSettings -> IQStreamable<'TPayload>
JScript does not support generic types and methods.
Type Parameters
- TPayload
The payload type.
Parameters
- source
Type: System.Func<Nullable<DateTimeOffset>, IQueryable<EdgeEvent<TPayload>>>
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.
- 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 Func<Nullable<DateTimeOffset>, IQueryable<EdgeEvent<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).