CepStream.ShiftEventTime<TPayload> Method (CepStream<TPayload>, Expression<Func<CepEvent, DateTime>>)

 

Shift event times to the value specified by the shiftExpr parameter. The method does not change event life times.

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

Syntax

public static CepStream<TPayload> ShiftEventTime<TPayload>(
    this CepStream<TPayload> source,
    Expression<Func<CepEvent, DateTime>> shiftExpr
)
public:
generic<typename TPayload>
[ExtensionAttribute]
static CepStream<TPayload>^ ShiftEventTime(
    CepStream<TPayload>^ source,
    Expression<Func<CepEvent^, DateTime>^>^ shiftExpr
)
static member ShiftEventTime<'TPayload> : 
        source:CepStream<'TPayload> *
        shiftExpr:Expression<Func<CepEvent, DateTime>> -> CepStream<'TPayload>
<ExtensionAttribute>
Public Shared Function ShiftEventTime(Of TPayload) (
    source As CepStream(Of TPayload),
    shiftExpr As Expression(Of Func(Of CepEvent, Date))
) As CepStream(Of TPayload)

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.CepStream<TPayload>

A stream with shifted event start times.

Type Parameters

  • TPayload
    The type of the input event payload.

See Also

ShiftEventTime Overload
CepStream Class
Microsoft.ComplexEventProcessing.Linq Namespace

Return to top