PartitionDescription PartitionDescription PartitionDescription Class


Represents the metadata and approximate runtime information for a logical partition of an Event Hub.

[System.Runtime.Serialization.DataContract(Name="PartitionDescription", Namespace="")]
public sealed class PartitionDescription : Microsoft.ServiceBus.Messaging.EntityDescription
type PartitionDescription = class
    inherit EntityDescription
Public NotInheritable Class PartitionDescription
Inherits EntityDescription


PartitionDescription(String, String) PartitionDescription(String, String) PartitionDescription(String, String)

Initializes a new instance of the PartitionDescription class.


BeginSequenceNumber BeginSequenceNumber BeginSequenceNumber

Gets the begin sequence number.

ConsumerGroupName ConsumerGroupName ConsumerGroupName

Gets the name of the Event Hubs consumer group.

EndSequenceNumber EndSequenceNumber EndSequenceNumber

Gets the end sequence number.

EventHubPath EventHubPath EventHubPath

Gets the path of the Event Hub.

ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
IncomingBytesPerSecond IncomingBytesPerSecond IncomingBytesPerSecond

Gets the approximate incoming rate of events (in bytes per second) for the partition.

IsReadOnly IsReadOnly IsReadOnly

Gets or sets a value that indicates whether the entity description is read-only.

(Inherited from EntityDescription)
LastEnqueuedOffset LastEnqueuedOffset LastEnqueuedOffset

Gets the offset of the last enqueued event.

LastEnqueuedTimeUtc LastEnqueuedTimeUtc LastEnqueuedTimeUtc

Gets the enqueued UTC time of the last event.

OutgoingBytesPerSecond OutgoingBytesPerSecond OutgoingBytesPerSecond

Gets the approximate outgoing rate (in bytes per second) for the partition in the specified consumer group.

PartitionId PartitionId PartitionId

Gets the partition ID for the Event Hub to which it belongs.

SizeInBytes SizeInBytes SizeInBytes

Gets the approximate size, in bytes, of the Event Hubs partition.


ThrowIfReadOnly() ThrowIfReadOnly() ThrowIfReadOnly()

Throws an exception if the entity description is read-only.

(Inherited from EntityDescription)

Applies to