EventsExtensions.GetRequestEventAsync Método

Definição

Obter um evento de solicitação

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

Parâmetros

operations
IEvents

O grupo de operações para esse método de extensão.

appId
String

ID do aplicativo. Esta é a ID do Aplicativo da folha Configurações de acesso à API no portal do Azure.

eventId
String

ID do evento.

timespan
String

Opcional. O período de tempo sobre o qual recuperar eventos. Esse é um valor de período de tempo ISO8601. Esse período de tempo é aplicado além de qualquer especificado na expressão Odata.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Obtém os dados de um único evento de solicitação

Aplica-se a