Freigeben über


EventsExtensions.GetDependencyEventAsync Methode

Definition

Abrufen eines Abhängigkeitsereignisses

public static System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult>> GetDependencyEventAsync (this Microsoft.Azure.ApplicationInsights.Query.IEvents operations, string appId, string eventId, string timespan = default, System.Threading.CancellationToken cancellationToken = default);
static member GetDependencyEventAsync : Microsoft.Azure.ApplicationInsights.Query.IEvents * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult>>
<Extension()>
Public Function GetDependencyEventAsync (operations As IEvents, appId As String, eventId As String, Optional timespan As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EventsResults(Of EventsDependencyResult))

Parameter

operations
IEvents

Die Vorgangsgruppe für diese Erweiterungsmethode.

appId
String

ID der Anwendung. Dies ist die Anwendungs-ID auf dem Blatt API-Zugriffseinstellungen im Azure-Portal.

eventId
String

ID des Ereignisses.

timespan
String

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 Abhängigkeitsereignis ab.

Gilt für: