コード例 #1
0
 /// <summary> Delete the Offline Evaluation associated with the Id. </summary>
 /// <param name="evaluationId"> Id of the Offline Evaluation to delete. </param>
 /// <param name="cancellationToken"> The cancellation token to use. </param>
 public virtual Response DeletePersonalizerEvaluation(string evaluationId, CancellationToken cancellationToken = default)
 {
     using var scope = _clientDiagnostics.CreateScope("PersonalizerAdministrationClient.DeletePersonalizerEvaluation");
     scope.Start();
     try
     {
         return(EvaluationsRestClient.Delete(evaluationId, cancellationToken));
     }
     catch (Exception e)
     {
         scope.Failed(e);
         throw;
     }
 }