Class EntityDescription
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Represents the description of an entity.
[KnownType(typeof(RuleDescription))]
[KnownType(typeof(ConsumerGroupDescription))]
[KnownType(typeof(RevokedPublisherDescription))]
[DataContract(Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[KnownType(typeof(RelayDescription))]
[KnownType(typeof(QueueDescription))]
[KnownType(typeof(PartitionDescription))]
[KnownType(typeof(TopicDescription))]
[KnownType(typeof(EventHubDescription))]
[KnownType(typeof(SubscriptionDescription))]
public abstract class EntityDescription : IExtensibleDataObject
- Inheritance
-
EntityDescription
- Implements
-
IExtensibleDataObject
- Derived
- Inherited Members
Properties
ExtensionData
Gets or sets the structure that contains extra data.
public ExtensionDataObject ExtensionData { get; set; }
Property Value
- ExtensionDataObject
An System.Runtime.Serialization.ExtensionDataObject that contains data that is not recognized as belonging to the data contract.
IsReadOnly
Gets or sets a value that indicates whether the entity description is read-only.
public bool IsReadOnly { get; }
Property Value
- bool
true if the entity description is read-only; otherwise, false.
Methods
ThrowIfReadOnly()
Throws an exception if the entity description is read-only.
protected void ThrowIfReadOnly()