EventsExtensions.GetPageViewEventsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Execute OData query for page view events
public static System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult>> GetPageViewEventsAsync (this Microsoft.Azure.ApplicationInsights.Query.IEvents operations, string appId, string timespan = default, string filter = default, string search = default, string orderby = default, string select = default, int? skip = default, int? top = default, string format = default, bool? count = default, string apply = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPageViewEventsAsync : Microsoft.Azure.ApplicationInsights.Query.IEvents * string * string * string * string * string * string * Nullable<int> * Nullable<int> * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult>>
<Extension()>
Public Function GetPageViewEventsAsync (operations As IEvents, appId As String, Optional timespan As String = Nothing, Optional filter As String = Nothing, Optional search As String = Nothing, Optional orderby As String = Nothing, Optional select As String = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional format As String = Nothing, Optional count As Nullable(Of Boolean) = Nothing, Optional apply As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EventsResults(Of EventsPageViewResult))
Parameters
- operations
- IEvents
The operations group for this extension method.
- appId
- String
ID of the application. This is Application ID from the API Access settings blade in the Azure portal.
- timespan
- String
Optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression.
- filter
- String
An expression used to filter the returned events
- search
- String
A free-text search expression to match for whether a particular event should be returned
- orderby
- String
A comma-separated list of properties with "asc" (the default) or "desc" to control the order of returned events
- select
- String
Limits the properties to just those requested on each returned event
- format
- String
Format for the returned events
- apply
- String
An expression used for aggregation over returned events
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Executes an OData query for page view events
Applies to
Azure SDK for .NET