RemoteProvider.DefineStreamable<TPayload> 方法 (IRemoteProvider, Type, Object, EventShape, AdvanceTimeSettings)
定義遠端暫時資料流。
命名空間: Microsoft.ComplexEventProcessing.Linq
組件: Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)
語法
'宣告
<ExtensionAttribute> _
Public Shared Function DefineStreamable(Of TPayload) ( _
provider As IRemoteProvider, _
adapterFactoryType As Type, _
configInfo As Object, _
eventShape As EventShape, _
advanceTimeSettings As AdvanceTimeSettings _
) As IQStreamable(Of TPayload)
'用途
Dim provider As IRemoteProvider
Dim adapterFactoryType As Type
Dim configInfo As Object
Dim eventShape As EventShape
Dim advanceTimeSettings As AdvanceTimeSettings
Dim returnValue As IQStreamable(Of TPayload)
returnValue = provider.DefineStreamable(adapterFactoryType, _
configInfo, eventShape, advanceTimeSettings)
public static IQStreamable<TPayload> DefineStreamable<TPayload>(
this IRemoteProvider provider,
Type adapterFactoryType,
Object configInfo,
EventShape eventShape,
AdvanceTimeSettings advanceTimeSettings
)
[ExtensionAttribute]
public:
generic<typename TPayload>
static IQStreamable<TPayload>^ DefineStreamable(
IRemoteProvider^ provider,
Type^ adapterFactoryType,
Object^ configInfo,
EventShape eventShape,
AdvanceTimeSettings^ advanceTimeSettings
)
static member DefineStreamable :
provider:IRemoteProvider *
adapterFactoryType:Type *
configInfo:Object *
eventShape:EventShape *
advanceTimeSettings:AdvanceTimeSettings -> IQStreamable<'TPayload>
JScript 不支援泛型型別及方法。
型別參數
- TPayload
裝載類型。
參數
- provider
型別:Microsoft.ComplexEventProcessing.Linq.IRemoteProvider
遠端 LINQ 提供者。
- adapterFactoryType
型別:System.Type
配接器 Factory 類型。
- configInfo
型別:System.Object
配接器組態。
- eventShape
型別:Microsoft.ComplexEventProcessing.EventShape
事件圖形。
- advanceTimeSettings
型別:Microsoft.ComplexEventProcessing.AdvanceTimeSettings
提前時間設定。
傳回值
型別:Microsoft.ComplexEventProcessing.Linq.IQStreamable<TPayload>
遠端暫時資料流。
使用注意事項
在 Visual Basic 及 C# 中,您可以在任何型別 IRemoteProvider 的物件上將這個方法做為執行個體方法呼叫。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱 https://msdn.microsoft.com/zh-tw/library/bb384936(v=sql.111) 或 https://msdn.microsoft.com/zh-tw/library/bb383977(v=sql.111)。