コード例 #1
0
 /// <summary>
 ///   Retrieves information about a specific partiton 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="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 client is associated with.</returns>
 ///
 public virtual Task <PartitionProperties> GetPartitionPropertiesAsync(string partitionId,
                                                                       CancellationToken cancellationToken = default) => InnerClient.GetPartitionPropertiesAsync(partitionId, cancellationToken);