RemoteProvider.DefineStreamable<T1, T2, T3, TPayload> Method (IRemoteProvider, Expression<Func<T1, T2, T3, IStreamable<TPayload>>>)
Defines a remote function that returns a temporal stream.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function DefineStreamable(Of T1, T2, T3, TPayload) ( _
provider As IRemoteProvider, _
definition As Expression(Of Func(Of T1, T2, T3, IStreamable(Of TPayload))) _
) As Func(Of T1, T2, T3, IQStreamable(Of TPayload))
'Usage
Dim provider As IRemoteProvider
Dim definition As Expression(Of Func(Of T1, T2, T3, IStreamable(Of TPayload)))
Dim returnValue As Func(Of T1, T2, T3, IQStreamable(Of TPayload))
returnValue = provider.DefineStreamable(definition)
public static Func<T1, T2, T3, IQStreamable<TPayload>> DefineStreamable<T1, T2, T3, TPayload>(
this IRemoteProvider provider,
Expression<Func<T1, T2, T3, IStreamable<TPayload>>> definition
)
[ExtensionAttribute]
public:
generic<typename T1, typename T2, typename T3, typename TPayload>
static Func<T1, T2, T3, IQStreamable<TPayload>^>^ DefineStreamable(
IRemoteProvider^ provider,
Expression<Func<T1, T2, T3, IStreamable<TPayload>^>^>^ definition
)
static member DefineStreamable :
provider:IRemoteProvider *
definition:Expression<Func<'T1, 'T2, 'T3, IStreamable<'TPayload>>> -> Func<'T1, 'T2, 'T3, IQStreamable<'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.
- TPayload
The payload type.
Parameters
- provider
Type: Microsoft.ComplexEventProcessing.Linq.IRemoteProvider
The remote LINQ provider.
- definition
Type: System.Linq.Expressions.Expression<Func<T1, T2, T3, IStreamable<TPayload>>>
The function definition.
Return Value
Type: System.Func<T1, T2, T3, IQStreamable<TPayload>>
The remote function that returns a temporal stream.
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).