Partager via


Events.GetRequestEventWithHttpMessagesAsync Méthode

Définition

Obtenir un événement de demande

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsRequestResult>>> GetRequestEventWithHttpMessagesAsync (string appId, string eventId = default, string timespan = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRequestEventWithHttpMessagesAsync : string * string * 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.EventsRequestResult>>>
override this.GetRequestEventWithHttpMessagesAsync : string * string * 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.EventsRequestResult>>>
Public Function GetRequestEventWithHttpMessagesAsync (appId As String, Optional eventId As String = Nothing, Optional timespan 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 EventsRequestResult)))

Paramètres

appId
String

ID de l’application. Il s’agit de l’ID d’application du panneau Des paramètres d’accès à l’API dans le Portail Azure.

eventId
String

ID de l’événement.

timespan
String

facultatif. Intervalle de temps sur lequel récupérer les événements. Il s’agit d’une valeur de période ISO8601. Ce intervalle de temps est appliqué en plus des éléments spécifiés dans l’expression Odata.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Implémente

Remarques

Obtient les données d’un événement de requête unique

S’applique à