public Task<AFValues> InterpolatedValuesAsync( AFTimeRange timeRange, AFTimeSpan interval, string filterExpression, bool includeFilteredValues, CancellationToken cancellationToken = null )
Public Function InterpolatedValuesAsync ( timeRange As AFTimeRange, interval As AFTimeSpan, filterExpression As String, includeFilteredValues As Boolean, Optional cancellationToken As CancellationToken = Nothing ) As Task(Of AFValues) Dim instance As PIPoint Dim timeRange As AFTimeRange Dim interval As AFTimeSpan Dim filterExpression As String Dim includeFilteredValues As Boolean Dim cancellationToken As CancellationToken Dim returnValue As Task(Of AFValues) returnValue = instance.InterpolatedValuesAsync(timeRange, interval, filterExpression, includeFilteredValues, cancellationToken)
public: Task<AFValues^>^ InterpolatedValuesAsync( AFTimeRange timeRange, AFTimeSpan interval, String^ filterExpression, bool includeFilteredValues, CancellationToken cancellationToken = nullptr )
member InterpolatedValuesAsync : timeRange : AFTimeRange * interval : AFTimeSpan * filterExpression : string * includeFilteredValues : bool * ?cancellationToken : CancellationToken (* Defaults: let _cancellationToken = defaultArg cancellationToken null *) -> Task<AFValues>
The Sample interval. If specified in hours, minutes, seconds, or milliseconds, the time intervals will be evenly spaced UTC time intervals. Longer interval types are interpreted using wall clock rules and are time zone dependent. For example, an interval created with the string "24h" means using an evenly spaced 24 UTC hour interval between each event. On the other hand, an interval created with the string "1d" would return an interval shorter or longer than 24 hours if the interval encompasses a Daylight Savings Time change.
When a positive interval is specified, the interval calculation begins at the earliest bounding time in the timeRange and applies the interval repeatedly in time ascending direction to generate the calculation intervals.
If a negative interval is specified, the interval calculation begins at the latest bounding time in the timeRange and applies the interval repeatedly in time descending direction to generate the calculation intervals. Note that the order of values returned will still be reflected by the timeRange, regardless of the interval sign.
|AggregateException||Asynchronous methods throw AggregateException on failure which will contain one or more exceptions containing the failure.|
|Impersonation of AF SDK asynchronous calls relies on the .NET framework's built-in support for flowing execution context across asynchronous points. When making these calls while impersonating, the thread or runtime must be configured to propagate the impersonation across these asynchronous points (see the SecurityContext documentation for details).|
|Notes to Callers|
|This call might use a background task to complete some of its work. See the Threading Overview for some matters to consider when execution transitions to another thread.|