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

EventsExtensions.GetPageViewEvent(IEvents, String, String, String) 方法

定义

获取页面视图事件

public static Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult> GetPageViewEvent (this Microsoft.Azure.ApplicationInsights.Query.IEvents operations, string appId, string eventId, string timespan = default);
static member GetPageViewEvent : Microsoft.Azure.ApplicationInsights.Query.IEvents * string * string * string -> Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult>
<Extension()>
Public Function GetPageViewEvent (operations As IEvents, appId As String, eventId As String, Optional timespan As String = Nothing) As EventsResults(Of EventsPageViewResult)

参数

operations
IEvents

此扩展方法的操作组。

appId
String

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

eventId
String

事件的 ID。

timespan
String

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

返回

注解

获取单个页面视图事件的数据

适用于