/// <summary>
 ///   Retrieves the set of identifiers for the partitions of an Event Hub.
 /// </summary>
 ///
 /// <param name="retryPolicy">The retry policy to use as the basis for retrieving the information.</param>
 /// <param name="cancellationToken">An optional <see cref="CancellationToken"/> instance to signal the request to cancel the operation.</param>
 ///
 /// <returns>The set of identifiers for the partitions within the Event Hub that this connection is associated with.</returns>
 ///
 /// <remarks>
 ///   This method is synonymous with invoking <see cref="GetPropertiesAsync(EventHubRetryPolicy, CancellationToken)" /> and reading the <see cref="EventHubProperties.PartitionIds"/>
 ///   property that is returned. It is offered as a convenience for quick access to the set of partition identifiers for the associated Event Hub.
 ///   No new or extended information is presented.
 /// </remarks>
 ///
 internal virtual async Task <string[]> GetPartitionIdsAsync(EventHubRetryPolicy retryPolicy,
                                                             CancellationToken cancellationToken = default) =>
 (await GetPropertiesAsync(retryPolicy, cancellationToken).ConfigureAwait(false))?.PartitionIds;
 /// <summary>
 ///   Retrieves information about a specific partition for an Event Hub, including elements that describe the available
 ///   events in the partition event stream.
 /// </summary>
 ///
 /// <param name="partitionId">The unique identifier of a partition associated with the Event Hub.</param>
 /// <param name="retryPolicy">The retry policy to use as the basis for retrieving the information.</param>
 /// <param name="cancellationToken">An optional <see cref="CancellationToken"/> instance to signal the request to cancel the operation.</param>
 ///
 /// <returns>The set of information for the requested partition under the Event Hub this connection is associated with.</returns>
 ///
 internal virtual Task <PartitionProperties> GetPartitionPropertiesAsync(string partitionId,
                                                                         EventHubRetryPolicy retryPolicy,
                                                                         CancellationToken cancellationToken = default) => InnerClient.GetPartitionPropertiesAsync(partitionId, retryPolicy, cancellationToken);
 /// <summary>
 ///   Retrieves information about the Event Hub that the connection is associated with, including
 ///   the number of partitions present and their identifiers.
 /// </summary>
 ///
 /// <param name="retryPolicy">The retry policy to use as the basis for retrieving the information.</param>
 /// <param name="cancellationToken">An optional <see cref="CancellationToken"/> instance to signal the request to cancel the operation.</param>
 ///
 /// <returns>The set of information for the Event Hub that this connection is associated with.</returns>
 ///
 internal virtual Task <EventHubProperties> GetPropertiesAsync(EventHubRetryPolicy retryPolicy,
                                                               CancellationToken cancellationToken = default) => InnerClient.GetPropertiesAsync(retryPolicy, cancellationToken);