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