public virtual async Task <LogAnalyticsExportThrottledRequestsOperation> StartExportThrottledRequestsAsync(string location, LogAnalyticsInputBase parameters, CancellationToken cancellationToken = default) { if (location == null) { throw new ArgumentNullException(nameof(location)); } if (parameters == null) { throw new ArgumentNullException(nameof(parameters)); } using var scope = _clientDiagnostics.CreateScope("LogAnalyticsOperations.StartExportThrottledRequests"); scope.Start(); try { var originalResponse = await RestClient.ExportThrottledRequestsAsync(location, parameters, cancellationToken).ConfigureAwait(false); return(new LogAnalyticsExportThrottledRequestsOperation(_clientDiagnostics, _pipeline, RestClient.CreateExportThrottledRequestsRequest(location, parameters).Request, originalResponse)); } catch (Exception e) { scope.Failed(e); throw; } }