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

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)

Initializes a new instance of the MessagingEntityAlreadyExistsException class.

public MessagingEntityAlreadyExistsException(string entityName, TrackingContext trackingContext)

Parameters

entityName string

The name of the entity.

trackingContext TrackingContext

The context information associated by a transaction tracking the operation.

MessagingEntityAlreadyExistsException(string, TrackingContext, Exception)

Initializes a new instance of the MessagingEntityAlreadyExistsException class.

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

Parameters

message string

The error message that explains the reason for the exception.

trackingContext TrackingContext

The context information associated by a transaction tracking the operation.

innerException Exception

The inner exception that is the cause of the current 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.