Class ConsumerGroupDescription
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Represents a description of the consumer group.
[DataContract(Name = "ConsumerGroupDescription", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class ConsumerGroupDescription : EntityDescription, IExtensibleDataObject
- Inheritance
-
ConsumerGroupDescription
- Implements
-
IExtensibleDataObject
- Inherited Members
Constructors
ConsumerGroupDescription(string, string)
Initializes a new instance of the ConsumerGroupDescription class.
public ConsumerGroupDescription(string eventHubPath, string consumerGroupName)
Parameters
eventHubPath
stringThe path of the event hub.
consumerGroupName
stringThe name of the subscription.
Properties
CreatedAt
Gets the exact time the message was created.
public DateTime CreatedAt { get; }
Property Value
- DateTime
The exact time the message was created.
EventHubPath
Gets or sets the path of the event hub.
public string EventHubPath { get; set; }
Property Value
- string
The path of the Event Hub.
Remarks
This is a relative path to the Address.
Name
Gets the name of the consumer group description.
public string Name { get; set; }
Property Value
- string
The name of the consumer group description.
UpdatedAt
Gets the exact time the message has been updated.
public DateTime UpdatedAt { get; }
Property Value
- DateTime
The time the message has been updated.
UserMetadata
Gets or sets the user metadata.
public string UserMetadata { get; set; }
Property Value
- string
The user metadata.