RemoteProvider.Bind<TPayload> 方法 (IQStreamable<TPayload>, IRemoteObserver<EdgeEvent<TPayload>>)

將暫時資料流繫結至邊緣事件觀察器接收。

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

語法

'宣告
<ExtensionAttribute> _
Public Shared Function Bind(Of TPayload) ( _
    source As IQStreamable(Of TPayload), _
    sink As IRemoteObserver(Of EdgeEvent(Of TPayload)) _
) As IRemoteStreamableBinding
'用途
Dim source As IQStreamable(Of TPayload)
Dim sink As IRemoteObserver(Of EdgeEvent(Of TPayload))
Dim returnValue As IRemoteStreamableBinding 

returnValue = source.Bind(sink)
public static IRemoteStreamableBinding Bind<TPayload>(
    this IQStreamable<TPayload> source,
    IRemoteObserver<EdgeEvent<TPayload>> sink
)
[ExtensionAttribute]
public:
generic<typename TPayload>
static IRemoteStreamableBinding^ Bind(
    IQStreamable<TPayload>^ source, 
    IRemoteObserver<EdgeEvent<TPayload>^>^ sink
)
static member Bind : 
        source:IQStreamable<'TPayload> * 
        sink:IRemoteObserver<EdgeEvent<'TPayload>> -> IRemoteStreamableBinding
JScript 不支援泛型型別及方法。

型別參數

  • TPayload
    裝載類型。

參數

傳回值

型別:Microsoft.ComplexEventProcessing.Linq.IRemoteStreamableBinding
source 與 sink 之間的繫結。

使用注意事項

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

請參閱

參考

RemoteProvider 類別

Bind 多載

Microsoft.ComplexEventProcessing.Linq 命名空間