RemoteProvider.ToStreamable<TPayload> 方法 (Func<Nullable<DateTimeOffset>, IQbservable<IntervalEvent<TPayload>>>, AdvanceTimeSettings)

將針對上限標準參數化的序列 (以便在檢查點中重新執行) 轉換成暫時資料流。

命名空間:  Microsoft.ComplexEventProcessing.Linq
組件:  Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)

語法

'宣告
<ExtensionAttribute> _
Public Shared Function ToStreamable(Of TPayload) ( _
    source As Func(Of Nullable(Of DateTimeOffset), IQbservable(Of IntervalEvent(Of TPayload))), _
    advanceTimeSettings As AdvanceTimeSettings _
) As IQStreamable(Of TPayload)
'用途
Dim source As Func(Of Nullable(Of DateTimeOffset), IQbservable(Of IntervalEvent(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>, IQbservable<IntervalEvent<TPayload>>> source,
    AdvanceTimeSettings advanceTimeSettings
)
[ExtensionAttribute]
public:
generic<typename TPayload>
static IQStreamable<TPayload>^ ToStreamable(
    Func<Nullable<DateTimeOffset>, IQbservable<IntervalEvent<TPayload>^>^>^ source, 
    AdvanceTimeSettings^ advanceTimeSettings
)
static member ToStreamable : 
        source:Func<Nullable<DateTimeOffset>, IQbservable<IntervalEvent<'TPayload>>> * 
        advanceTimeSettings:AdvanceTimeSettings -> IQStreamable<'TPayload> 
JScript 不支援泛型型別及方法。

型別參數

  • TPayload
    裝載類型。

參數

傳回值

型別:Microsoft.ComplexEventProcessing.Linq.IQStreamable<TPayload>
遠端暫時資料流。

使用注意事項

在 Visual Basic 及 C# 中,您可以在任何型別 Func<Nullable<DateTimeOffset>, IQbservable<IntervalEvent<TPayload>>> 的物件上將這個方法做為執行個體方法呼叫。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱 https://msdn.microsoft.com/zh-tw/library/bb384936(v=sql.111)https://msdn.microsoft.com/zh-tw/library/bb383977(v=sql.111)

請參閱

參考

RemoteProvider 類別

ToStreamable 多載

Microsoft.ComplexEventProcessing.Linq 命名空間