Freigeben über


ApplicationInsightsDataClientExtensions.GetExceptionEvent Methode

Definition

Abrufen eines Ausnahmeereignisses

public static Microsoft.Azure.ApplicationInsights.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Models.EventsExceptionResult> GetExceptionEvent (this Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient operations, string eventId, TimeSpan? timespan = default);
static member GetExceptionEvent : Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient * string * Nullable<TimeSpan> -> Microsoft.Azure.ApplicationInsights.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Models.EventsExceptionResult>
<Extension()>
Public Function GetExceptionEvent (operations As IApplicationInsightsDataClient, eventId As String, Optional timespan As Nullable(Of TimeSpan) = Nothing) As EventsResults(Of EventsExceptionResult)

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 Zeitraum wird zusätzlich zu allen angewendet, die im Odata-Ausdruck angegeben sind.

Gibt zurück

Hinweise

Ruft die Daten für ein einzelnes Ausnahmeereignis ab.

Gilt für: