QStreamable.LeftAntiJoin<TLeft, TRight> Method (IQStreamable<TLeft>, IQStreamable<TRight>, Expression<Func<TLeft, TRight, Boolean>>)
Returns left events when they do not coincide with any matching right events where events are matched based on predicate.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function LeftAntiJoin(Of TLeft, TRight) ( _
left As IQStreamable(Of TLeft), _
right As IQStreamable(Of TRight), _
predicate As Expression(Of Func(Of TLeft, TRight, Boolean)) _
) As IQStreamable(Of TLeft)
'Usage
Dim left As IQStreamable(Of TLeft)
Dim right As IQStreamable(Of TRight)
Dim predicate As Expression(Of Func(Of TLeft, TRight, Boolean))
Dim returnValue As IQStreamable(Of TLeft)
returnValue = left.LeftAntiJoin(right, _
predicate)
public static IQStreamable<TLeft> LeftAntiJoin<TLeft, TRight>(
this IQStreamable<TLeft> left,
IQStreamable<TRight> right,
Expression<Func<TLeft, TRight, bool>> predicate
)
[ExtensionAttribute]
public:
generic<typename TLeft, typename TRight>
static IQStreamable<TLeft>^ LeftAntiJoin(
IQStreamable<TLeft>^ left,
IQStreamable<TRight>^ right,
Expression<Func<TLeft, TRight, bool>^>^ predicate
)
static member LeftAntiJoin :
left:IQStreamable<'TLeft> *
right:IQStreamable<'TRight> *
predicate:Expression<Func<'TLeft, 'TRight, bool>> -> IQStreamable<'TLeft>
JScript does not support generic types and methods.
Type Parameters
- TLeft
Left payload type.
- TRight
Right payload type.
Parameters
- left
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TLeft>
Left stream.
- right
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TRight>
Right stream.
- predicate
Type: System.Linq.Expressions.Expression<Func<TLeft, TRight, Boolean>>
Predicate matching left and right events.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.IQStreamable<TLeft>
Stream consisting of left events when not matched by right events.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQStreamable<TLeft>. 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).