你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IEvents.GetPageViewEventsWithHttpMessagesAsync 方法

定义

对页面视图事件执行 OData 查询

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult>>> GetPageViewEventsWithHttpMessagesAsync (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.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPageViewEventsWithHttpMessagesAsync : string * string * string * string * string * string * Nullable<int> * Nullable<int> * string * Nullable<bool> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult>>>
Public Function GetPageViewEventsWithHttpMessagesAsync (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 customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of EventsResults(Of EventsPageViewResult)))

参数

appId
String

应用程序的 ID。 这是Azure 门户“API 访问设置”边栏选项卡中的应用程序 ID。

timespan
String

可选。 检索事件的时间跨度。 这是 ISO8601 时间段值。 除了 Odata 表达式中指定的任何时间跨度外,还会应用此时间跨度。

filter
String

用于筛选返回的事件的表达式

search
String

是否应返回特定事件匹配的自由文本搜索表达式

orderby
String

带“asc”的逗号分隔属性列表, (默认) 或“desc”来控制返回事件的顺序

select
String

将属性限制为仅针对每个返回的事件请求的属性

skip
Nullable<Int32>

返回事件之前要跳过的项目数

top
Nullable<Int32>

要返回的事件数

format
String

返回事件的格式

count
Nullable<Boolean>

请求返回的事件中包含的匹配项计数

apply
String

用于对返回的事件进行聚合的表达式

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

注解

为页面视图事件执行 OData 查询

适用于