次の方法で共有


ApplicationInsightsComponentResource.DeleteAnnotationAsync メソッド

定義

Application Insights コンポーネントの注釈を削除します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}
  • 操作IdAnnotations_Delete
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteAnnotationAsync (string annotationId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAnnotationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAnnotationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAnnotationAsync (annotationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

パラメーター

annotationId
String

一意の注釈 ID。 これは Application Insights コンポーネント内で一意です。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

annotationId は空の文字列であり、空でないと想定されていました。

annotationId が null です。

適用対象