/// <summary> Get the Offline Evaluation associated with the Id. </summary> /// <param name="evaluationId"> Id of the Offline Evaluation. </param> /// <param name="cancellationToken"> The cancellation token to use. </param> public virtual async Task <Response <PersonalizerEvaluation> > GetPersonalizerEvaluationAsync(string evaluationId, CancellationToken cancellationToken = default) { using var scope = _clientDiagnostics.CreateScope("PersonalizerAdministrationClient.GetPersonalizerEvaluation"); scope.Start(); try { return(await EvaluationsRestClient.GetAsync(evaluationId, cancellationToken).ConfigureAwait(false)); } catch (Exception e) { scope.Failed(e); throw; } }