您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

EventHubDescription Class

定义

Represents the metadata description of an Event Hub.

[System.Runtime.Serialization.DataContract(Name="EventHubDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class EventHubDescription : Microsoft.ServiceBus.Messaging.EntityDescription
继承
System.Object
EventHubDescription
属性
System.Runtime.Serialization.DataContractAttribute

继承成员

Microsoft.ServiceBus.Messaging.EntityDescription

构造函数

EventHubDescription(String)

Initializes a new instance of the EventHubDescription class.

属性

Authorization

Gets the AuthorizationRules.

CreatedAt

Gets the exact time the message was created.

MessageRetentionInDays

Gets or sets the number of days to retain the events for this Event Hub.

PartitionCount

Gets or sets the current number of shards on the Event Hub.

PartitionIds

Gets identifiers for partitions created for Event Hubs.

Path

Gets the full path of the Event Hub.

Status

Gets or sets the current status of the Event Hub (enabled or disabled).

UpdatedAt

Gets the exact time the message has been updated.

UserMetadata

Gets or sets the user metadata.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)