RemoteProvider.DefineStreamableSink<T1, T2, T3, T4, TPayload> Method (IRemoteProvider, Expression<Func<T1, T2, T3, T4, IStreamableSink<TPayload>>>)

Defines a remote function that returns a temporal stream sink.

Namespace:  Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function DefineStreamableSink(Of T1, T2, T3, T4, TPayload) ( _
    provider As IRemoteProvider, _
    definition As Expression(Of Func(Of T1, T2, T3, T4, IStreamableSink(Of TPayload))) _
) As Func(Of T1, T2, T3, T4, IRemoteStreamableSink(Of TPayload))
'Usage
Dim provider As IRemoteProvider 
Dim definition As Expression(Of Func(Of T1, T2, T3, T4, IStreamableSink(Of TPayload)))
Dim returnValue As Func(Of T1, T2, T3, T4, IRemoteStreamableSink(Of TPayload))

returnValue = provider.DefineStreamableSink(definition)
public static Func<T1, T2, T3, T4, IRemoteStreamableSink<TPayload>> DefineStreamableSink<T1, T2, T3, T4, TPayload>(
    this IRemoteProvider provider,
    Expression<Func<T1, T2, T3, T4, IStreamableSink<TPayload>>> definition
)
[ExtensionAttribute]
public:
generic<typename T1, typename T2, typename T3, typename T4, typename TPayload>
static Func<T1, T2, T3, T4, IRemoteStreamableSink<TPayload>^>^ DefineStreamableSink(
    IRemoteProvider^ provider, 
    Expression<Func<T1, T2, T3, T4, IStreamableSink<TPayload>^>^>^ definition
)
static member DefineStreamableSink : 
        provider:IRemoteProvider * 
        definition:Expression<Func<'T1, 'T2, 'T3, 'T4, IStreamableSink<'TPayload>>> -> Func<'T1, 'T2, 'T3, 'T4, IRemoteStreamableSink<'TPayload>> 
JScript does not support generic types and methods.

Type Parameters

  • T1
    The first parameter type.
  • T2
    The second parameter type.
  • T3
    The third parameter type.
  • T4
    The fourth parameter type.
  • TPayload
    The payload type.

Parameters

Return Value

Type: System.Func<T1, T2, T3, T4, IRemoteStreamableSink<TPayload>>
The remote function that returns a temporal stream sink.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRemoteProvider. 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

DefineStreamableSink Overload

Microsoft.ComplexEventProcessing.Linq Namespace