次の方法で共有


EventsExtensions.GetExceptionEventAsync メソッド

定義

例外イベントを取得する

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

パラメーター

operations
IEvents

この拡張メソッドの操作グループ。

appId
String

アプリケーションの ID。 これは、Azure portalの [API アクセス設定] ブレードの [アプリケーション ID] です。

eventId
String

イベントの ID。

timespan
String

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

1 つの例外イベントのデータを取得します

適用対象