Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Adds an ordering key to an ordered window definition.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function ThenBy(Of TPayload, TKey) ( _
source As IQOrderedWindow(Of TPayload), _
keySelector As Expression(Of Func(Of TPayload, TKey)) _
) As IQOrderedWindow(Of TPayload)
'Usage
Dim source As IQOrderedWindow(Of TPayload)
Dim keySelector As Expression(Of Func(Of TPayload, TKey))
Dim returnValue As IQOrderedWindow(Of TPayload)
returnValue = source.ThenBy(keySelector)
public static IQOrderedWindow<TPayload> ThenBy<TPayload, TKey>(
this IQOrderedWindow<TPayload> source,
Expression<Func<TPayload, TKey>> keySelector
)
[ExtensionAttribute]
public:
generic<typename TPayload, typename TKey>
static IQOrderedWindow<TPayload>^ ThenBy(
IQOrderedWindow<TPayload>^ source,
Expression<Func<TPayload, TKey>^>^ keySelector
)
static member ThenBy :
source:IQOrderedWindow<'TPayload> *
keySelector:Expression<Func<'TPayload, 'TKey>> -> IQOrderedWindow<'TPayload>
JScript does not support generic types and methods.
Type Parameters
- TPayload
The window payload type.
- TKey
The key type.
Parameters
- source
Type: Microsoft.ComplexEventProcessing.Linq.IQOrderedWindow<TPayload>
The window.
- keySelector
Type: System.Linq.Expressions.Expression<Func<TPayload, TKey>>
The order key selector.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.IQOrderedWindow<TPayload>
The ordered window.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQOrderedWindow<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).