Table of Contents

Class MessagingEntityAlreadyExistsException

Namespace
Microsoft.ServiceBus.Messaging
Assembly
Microsoft.ServiceBus.dll

Represents the exception that is thrown for signaling messaging entity already exists errors.

public sealed class MessagingEntityAlreadyExistsException : MessagingException, ISerializable
Inheritance
MessagingEntityAlreadyExistsException
Implements
Inherited Members
Extension Methods

Constructors

MessagingEntityAlreadyExistsException(string)

Initializes a new instance of the MessagingEntityAlreadyExistsException class with the name of the entity.

public MessagingEntityAlreadyExistsException(string entityName)

Parameters

entityName string

The name of the entity.

MessagingEntityAlreadyExistsException(string, TrackingContext)

Constructor.

public MessagingEntityAlreadyExistsException(string entityName, TrackingContext trackingContext)

Parameters

entityName string

Name of the entity.

trackingContext TrackingContext

The TrackingContext.

MessagingEntityAlreadyExistsException(string, TrackingContext, Exception)

Constructor.

public MessagingEntityAlreadyExistsException(string message, TrackingContext trackingContext, Exception innerException)

Parameters

message string

The message.

trackingContext TrackingContext

the tracking context

innerException Exception

The inner exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates the serialization information with data about the exception.

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The serialized object data about the exception being thrown.

context StreamingContext

The contextual information about the source or destinations.