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
stringThe name of the entity.
MessagingEntityAlreadyExistsException(string, TrackingContext)
Constructor.
public MessagingEntityAlreadyExistsException(string entityName, TrackingContext trackingContext)
Parameters
entityName
stringName of the entity.
trackingContext
TrackingContextThe TrackingContext.
MessagingEntityAlreadyExistsException(string, TrackingContext, Exception)
Constructor.
public MessagingEntityAlreadyExistsException(string message, TrackingContext trackingContext, Exception innerException)
Parameters
message
stringThe message.
trackingContext
TrackingContextthe tracking context
innerException
ExceptionThe 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
SerializationInfoThe serialized object data about the exception being thrown.
context
StreamingContextThe contextual information about the source or destinations.