EntityDescription EntityDescription Class

Represents the description of an entity.

Syntax

Declaration

[DataContract(Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[KnownType(typeof (QueueDescription))]
[KnownType(typeof (TopicDescription))]
[KnownType(typeof (SubscriptionDescription))]
[KnownType(typeof (RuleDescription))]
[KnownType(typeof (EventHubDescription))]
[KnownType(typeof (ConsumerGroupDescription))]
[KnownType(typeof (PartitionDescription))]
[KnownType(typeof (RevokedPublisherDescription))]
[KnownType(typeof (RelayDescription))]
[KnownType(typeof (HybridConnectionDescription))]
public abstract class EntityDescription : IExtensibleDataObject<DataContract(Namespace:="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>
<KnownType(GetType(QueueDescription))>
<KnownType(GetType(TopicDescription))>
<KnownType(GetType(SubscriptionDescription))>
<KnownType(GetType(RuleDescription))>
<KnownType(GetType(EventHubDescription))>
<KnownType(GetType(ConsumerGroupDescription))>
<KnownType(GetType(PartitionDescription))>
<KnownType(GetType(RevokedPublisherDescription))>
<KnownType(GetType(RelayDescription))>
<KnownType(GetType(HybridConnectionDescription))>
Public MustInherit Class EntityDescription
    Implements IExtensibleDataObject

Inheritance Hierarchy

Properties summary

Gets or sets the structure that contains extra data.

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

Methods summary

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

Properties

  • ExtensionData
    ExtensionData

    Gets or sets the structure that contains extra data.

    public ExtensionDataObject ExtensionData { get; set; }Public Property ExtensionData As ExtensionDataObject

    Property Value

  • IsReadOnly
    IsReadOnly

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

    public bool IsReadOnly { get; }Public ReadOnly Property IsReadOnly As Boolean

    Property Value

    • true if the entity description is read-only; otherwise, false.

Methods

  • ThrowIfReadOnly()
    ThrowIfReadOnly()

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

    protected void ThrowIfReadOnly()Protected Sub ThrowIfReadOnly

Details

Namespace

Microsoft.ServiceBus.Messaging

Assembly

Microsoft.ServiceBus.dll