RemoteProvider.Bind<TPayload> Method (IQStreamable<TPayload>, IRemoteObserver<PointEvent<TPayload>>)

Binds temporal stream to point 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 PointEvent(Of TPayload)) _
) As IRemoteStreamableBinding
'Usage
Dim source As IQStreamable(Of TPayload)
Dim sink As IRemoteObserver(Of PointEvent(Of TPayload))
Dim returnValue As IRemoteStreamableBinding 

returnValue = source.Bind(sink)
public static IRemoteStreamableBinding Bind<TPayload>(
    this IQStreamable<TPayload> source,
    IRemoteObserver<PointEvent<TPayload>> sink
)
[ExtensionAttribute]
public:
generic<typename TPayload>
static IRemoteStreamableBinding^ Bind(
    IQStreamable<TPayload>^ source, 
    IRemoteObserver<PointEvent<TPayload>^>^ sink
)
static member Bind : 
        source:IQStreamable<'TPayload> * 
        sink:IRemoteObserver<PointEvent<'TPayload>> -> IRemoteStreamableBinding
JScript does not support generic types and methods.

Type Parameters

  • TPayload
    The payload type.

Parameters

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).

See Also

Reference

RemoteProvider Class

Bind Overload

Microsoft.ComplexEventProcessing.Linq Namespace