RemoteProvider.DefineStreamableSink<T1, T2, T3, TPayload> 方法 (IRemoteProvider, Expression<Func<T1, T2, T3, IStreamableSink<TPayload>>>)
定義可傳回暫時資料流接收的遠端函數。
命名空間: Microsoft.ComplexEventProcessing.Linq
組件: Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)
語法
'宣告
<ExtensionAttribute> _
Public Shared Function DefineStreamableSink(Of T1, T2, T3, TPayload) ( _
provider As IRemoteProvider, _
definition As Expression(Of Func(Of T1, T2, T3, IStreamableSink(Of TPayload))) _
) As Func(Of T1, T2, T3, IRemoteStreamableSink(Of TPayload))
'用途
Dim provider As IRemoteProvider
Dim definition As Expression(Of Func(Of T1, T2, T3, IStreamableSink(Of TPayload)))
Dim returnValue As Func(Of T1, T2, T3, IRemoteStreamableSink(Of TPayload))
returnValue = provider.DefineStreamableSink(definition)
public static Func<T1, T2, T3, IRemoteStreamableSink<TPayload>> DefineStreamableSink<T1, T2, T3, TPayload>(
this IRemoteProvider provider,
Expression<Func<T1, T2, T3, IStreamableSink<TPayload>>> definition
)
[ExtensionAttribute]
public:
generic<typename T1, typename T2, typename T3, typename TPayload>
static Func<T1, T2, T3, IRemoteStreamableSink<TPayload>^>^ DefineStreamableSink(
IRemoteProvider^ provider,
Expression<Func<T1, T2, T3, IStreamableSink<TPayload>^>^>^ definition
)
static member DefineStreamableSink :
provider:IRemoteProvider *
definition:Expression<Func<'T1, 'T2, 'T3, IStreamableSink<'TPayload>>> -> Func<'T1, 'T2, 'T3, IRemoteStreamableSink<'TPayload>>
JScript 不支援泛型型別及方法。
型別參數
- T1
第一個參數類型。
- T2
第二個參數類型。
- T3
第三個參數類型。
- TPayload
裝載類型。
參數
- provider
型別:Microsoft.ComplexEventProcessing.Linq.IRemoteProvider
遠端 LINQ 提供者。
- definition
型別:System.Linq.Expressions.Expression<Func<T1, T2, T3, IStreamableSink<TPayload>>>
函數定義。
傳回值
型別:System.Func<T1, T2, T3, IRemoteStreamableSink<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)。