次の方法で共有


IApplicationInsightsDataClient.GetCustomEventWithHttpMessagesAsync メソッド

定義

カスタム イベントを取得する

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.ApplicationInsights.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Models.EventsCustomEventResult>>> GetCustomEventWithHttpMessagesAsync (string eventId, TimeSpan? timespan = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCustomEventWithHttpMessagesAsync : 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<Microsoft.Azure.ApplicationInsights.Models.EventsCustomEventResult>>>
Public Function GetCustomEventWithHttpMessagesAsync (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(Of EventsCustomEventResult)))

パラメーター

eventId
String

イベントの ID。

timespan
Nullable<TimeSpan>

省略可能。 イベントを取得する期間。 これは ISO8601 期間の値です。 この期間は、Odata 式で指定されているに加えて適用されます。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

1 つのカスタム イベントのデータを取得します

適用対象