IApplicationInsightsDataClient.GetEventWithHttpMessagesAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
イベントを取得する
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.ApplicationInsights.Models.EventsResults>> GetEventWithHttpMessagesAsync(Microsoft.Azure.ApplicationInsights.Models.EventType eventType, string eventId, TimeSpan? timespan = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventWithHttpMessagesAsync : Microsoft.Azure.ApplicationInsights.Models.EventType * string * Nullable<TimeSpan> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.ApplicationInsights.Models.EventsResults>>
Public Function GetEventWithHttpMessagesAsync (eventType As EventType, eventId As String, Optional timespan As Nullable(Of TimeSpan) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of EventsResults))
パラメーター
- eventType
- EventType
クエリを実行するイベントの種類。標準のイベントの種類 (traces
、customEvents
pageViews
、requests
、dependencies
、exceptions
availabilityResults
)、または$all
すべてのイベントの種類に対してクエリを実行します。 使用できる値は、'$all'、'トレース'、'customEvents'、'pageViews'、'browserTimings'、'requests'、'dependencies'、'exceptions'、'availabilityResults'、'performanceCounters'、'customMetrics' です。
- eventId
- String
イベントの ID。
- customHeaders
- Dictionary<String,List<String>>
要求に追加されるヘッダー。
- cancellationToken
- CancellationToken
キャンセル トークン。
戻り値
注釈
1 つのイベントのデータを取得します
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET