Freigeben über


ApplicationInsightsDataClientExtensions.GetPageViewEventAsync Methode

Definition

Abrufen eines Seitenansichtsereignisses

public static System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Models.EventsPageViewResult>> GetPageViewEventAsync (this Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient operations, string eventId, TimeSpan? timespan = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPageViewEventAsync : Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient * string * Nullable<TimeSpan> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Models.EventsPageViewResult>>
<Extension()>
Public Function GetPageViewEventAsync (operations As IApplicationInsightsDataClient, eventId As String, Optional timespan As Nullable(Of TimeSpan) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EventsResults(Of EventsPageViewResult))

Parameter

operations
IApplicationInsightsDataClient

Die Vorgangsgruppe für diese Erweiterungsmethode.

eventId
String

ID des Ereignisses.

timespan
Nullable<TimeSpan>

Optional. Der Zeitraum, über den Ereignisse abgerufen werden sollen. Dies ist ein ISO8601-Zeitraumwert. Dieser Zeitbereich wird zusätzlich zu allen angewendet, die im Odata-Ausdruck angegeben sind.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Ruft die Daten für ein Einzelnes Seitenansichtsereignis ab.

Gilt für: