QStreamable.Union<TPayload> Method

Union operator.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Union(Of TPayload) ( _
    left As IQStreamable(Of TPayload), _
    right As IQStreamable(Of TPayload) _
) As IQStreamable(Of TPayload)
'Usage
Dim left As IQStreamable(Of TPayload)
Dim right As IQStreamable(Of TPayload)
Dim returnValue As IQStreamable(Of TPayload)

returnValue = left.Union(right)
public static IQStreamable<TPayload> Union<TPayload>(
    this IQStreamable<TPayload> left,
    IQStreamable<TPayload> right
)
[ExtensionAttribute]
public:
generic<typename TPayload>
static IQStreamable<TPayload>^ Union(
    IQStreamable<TPayload>^ left, 
    IQStreamable<TPayload>^ right
)
static member Union : 
        left:IQStreamable<'TPayload> * 
        right:IQStreamable<'TPayload> -> IQStreamable<'TPayload> 
JScript does not support generic types and methods.

Type Parameters

  • TPayload
    The payload type.

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TPayload>
The stream consisting of events from the left and right input streams.

Usage Note

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

Microsoft.ComplexEventProcessing.Linq Namespace