QStreamable.SelectMany<TKey, TSource, TResult> Method (IQPartitionedStreamable<TKey, TSource>, Expression<Func<IQStreamable<TSource>, IQStreamable<TResult>>>)

Merges operator for partitioned stream.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function SelectMany(Of TKey, TSource, TResult) ( _
    source As IQPartitionedStreamable(Of TKey, TSource), _
    streamSelector As Expression(Of Func(Of IQStreamable(Of TSource), IQStreamable(Of TResult))) _
) As IQStreamable(Of TResult)
'Usage
Dim source As IQPartitionedStreamable(Of TKey, TSource)
Dim streamSelector As Expression(Of Func(Of IQStreamable(Of TSource), IQStreamable(Of TResult)))
Dim returnValue As IQStreamable(Of TResult)

returnValue = source.SelectMany(streamSelector)
public static IQStreamable<TResult> SelectMany<TKey, TSource, TResult>(
    this IQPartitionedStreamable<TKey, TSource> source,
    Expression<Func<IQStreamable<TSource>, IQStreamable<TResult>>> streamSelector
)
[ExtensionAttribute]
public:
generic<typename TKey, typename TSource, typename TResult>
static IQStreamable<TResult>^ SelectMany(
    IQPartitionedStreamable<TKey, TSource>^ source, 
    Expression<Func<IQStreamable<TSource>^, IQStreamable<TResult>^>^>^ streamSelector
)
static member SelectMany : 
        source:IQPartitionedStreamable<'TKey, 'TSource> * 
        streamSelector:Expression<Func<IQStreamable<'TSource>, IQStreamable<'TResult>>> -> IQStreamable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TKey
    The partition key type.
  • TSource
    The source payload type.
  • TResult
    The result payload type.

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TResult>
The merged stream.

Usage Note

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

See Also

Reference

QStreamable Class

SelectMany Overload

Microsoft.ComplexEventProcessing.Linq Namespace