RemoteProvider.Bind<TPayload> Method (IQStreamable<TPayload>, IRemoteObserver<EdgeEvent<TPayload>>)
Binds temporal stream to edge event observer sink.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Bind(Of TPayload) ( _
source As IQStreamable(Of TPayload), _
sink As IRemoteObserver(Of EdgeEvent(Of TPayload)) _
) As IRemoteStreamableBinding
'Usage
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 does not support generic types and methods.
Type Parameters
- TPayload
The payload type.
Parameters
- source
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TPayload>
The streamable source.
- sink
Type: Microsoft.ComplexEventProcessing.Linq.IRemoteObserver<EdgeEvent<TPayload>>
The sequence sink.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.IRemoteStreamableBinding
The binding between the source and sink.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQStreamable<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).