Show / Hide Table of Contents

Class PartitionPublishingProperties

A set of information for an Event Hub.

Inheritance
System.Object
PartitionPublishingProperties
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Messaging.EventHubs.dll
Syntax
[System.ComponentModel.EditorBrowsable]
public class PartitionPublishingProperties

Properties

IsIdempotentPublishingEnabled

Indicates whether or not idempotent publishing is enabled for the producer and, by extension, the associated partition.

Declaration
public bool IsIdempotentPublishingEnabled { get; }
Property Value
System.Boolean

true if the idempotent publishing is enabled; otherwise, false.

LastPublishedSequenceNumber

The sequence number assigned to the event that was most recently published to the associated partition successfully.

Declaration
public Nullable<int> LastPublishedSequenceNumber { get; }
Property Value
System.Nullable<System.Int32>

The sequence number will be in the range of -1 - System.Int32.MaxValue (inclusive) and will increase as events are published. When more than System.Int32.MaxValue events have been published, the sequence number will roll over to 0.

A value of -1 indicates that no events are known to have been published.

OwnerLevel

The owner level of the producer publishing to the associated partition.

Declaration
public Nullable<short> OwnerLevel { get; }
Property Value
System.Nullable<System.Int16>

ProducerGroupId

The identifier of the producer group for which this producer is publishing to the associated partition.

Declaration
public Nullable<long> ProducerGroupId { get; }
Property Value
System.Nullable<System.Int64>

Methods

Equals(Object)

Determines whether the specified System.Object is equal to this instance.

Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object obj

The System.Object to compare with this instance.

Returns
System.Boolean

true if the specified System.Object is equal to this instance; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

ToString()

Converts the instance to string representation.

Declaration
[System.ComponentModel.EditorBrowsable]
public override string ToString ();
Returns
System.String

A System.String that represents this instance.

Back to top Azure SDK for .NET