QStreamable.Multicast<TSource, TResult> Method
Multicast operator.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Multicast(Of TSource, TResult) ( _
source As IQStreamable(Of TSource), _
streamSelector As Expression(Of Func(Of IQStreamable(Of TSource), IQStreamable(Of TResult))) _
) As IQStreamable(Of TResult)
'Usage
Dim source As IQStreamable(Of TSource)
Dim streamSelector As Expression(Of Func(Of IQStreamable(Of TSource), IQStreamable(Of TResult)))
Dim returnValue As IQStreamable(Of TResult)
returnValue = source.Multicast(streamSelector)
public static IQStreamable<TResult> Multicast<TSource, TResult>(
this IQStreamable<TSource> source,
Expression<Func<IQStreamable<TSource>, IQStreamable<TResult>>> streamSelector
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TResult>
static IQStreamable<TResult>^ Multicast(
IQStreamable<TSource>^ source,
Expression<Func<IQStreamable<TSource>^, IQStreamable<TResult>^>^>^ streamSelector
)
static member Multicast :
source:IQStreamable<'TSource> *
streamSelector:Expression<Func<IQStreamable<'TSource>, IQStreamable<'TResult>>> -> IQStreamable<'TResult>
JScript does not support generic types and methods.
Type Parameters
- TSource
The input payload type.
- TResult
The output payload type.
Parameters
- source
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TSource>
The input stream.
- streamSelector
Type: System.Linq.Expressions.Expression<Func<IQStreamable<TSource>, IQStreamable<TResult>>>
The stream selector.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TResult>
The multicast stream result.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQStreamable<TSource>. 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).