PartitionDescription Class

Definition

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

[System.Runtime.Serialization.DataContract(Name="PartitionDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class PartitionDescription : Microsoft.ServiceBus.Messaging.EntityDescription
[<System.Runtime.Serialization.DataContract(Name="PartitionDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type PartitionDescription = class
    inherit EntityDescription
Public NotInheritable Class PartitionDescription
Inherits EntityDescription
Inheritance
PartitionDescription
Attributes

Constructors

PartitionDescription(String, String)

Initializes a new instance of the PartitionDescription class.

Properties

BeginSequenceNumber

Gets the begin sequence number.

ConsumerGroupName

Gets the name of the Event Hubs consumer group.

EndSequenceNumber

Gets the end sequence number.

EventHubPath

Gets the path of the Event Hub.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
IncomingBytesPerSecond

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

IsReadOnly

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

(Inherited from EntityDescription)
LastEnqueuedOffset

Gets the offset of the last enqueued event.

LastEnqueuedTimeUtc

Gets the enqueued UTC time of the last event.

OutgoingBytesPerSecond

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

PartitionId

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

SizeInBytes

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

Methods

ThrowIfReadOnly()

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

(Inherited from EntityDescription)

Applies to