Export (0) Print
Expand All

MessagingException Class

Represents the exception that is thrown for signaling messaging errors.

System::Object
  System::Exception
    Microsoft.ServiceBus.Messaging::MessagingException
      More...

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

[SerializableAttribute]
public ref class MessagingException : public Exception

The MessagingException type exposes the following members.

  NameDescription
Public methodMessagingException(String)Initializes a new instance of the MessagingException class with a specified error message.
Protected methodMessagingException(SerializationInfo, StreamingContext)Initializes a new instance of the MessagingException class with serialization information and streaming context.
Public methodMessagingException(String, Exception)Initializes a new instance of the MessagingException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Public methodMessagingException(String, Boolean, Exception)Initializes a new instance of the MessagingException class.
Top

  NameDescription
Public propertyDataGets the data associated with the exception. (Overrides Exception::Data.)
Public propertyDetailGets or sets the detail information of the messaging exception.
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyIsTransientGets or sets a value indicating whether the exception is transient. Check this property to determine if the operation should be retried.
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Public propertyTimestampGets or sets the time at which the messaging exception occurred.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataPopulates the serialization information with data about the exception. (Overrides Exception::GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top

  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

System::Object
  System::Exception
    Microsoft.ServiceBus.Messaging::MessagingException
      Microsoft.ServiceBus.Messaging::DuplicateMessageException
      Microsoft.ServiceBus.Messaging::FilterException
      Microsoft.ServiceBus.Messaging::MessageLockLostException
      Microsoft.ServiceBus.Messaging::MessageNotFoundException
      Microsoft.ServiceBus.Messaging::MessageSizeExceededException
      Microsoft.ServiceBus.Messaging::MessageStoreLockLostException
      Microsoft.ServiceBus.Messaging::MessagingCommunicationException
      Microsoft.ServiceBus.Messaging::MessagingEntityAlreadyExistsException
      Microsoft.ServiceBus.Messaging::MessagingEntityDisabledException
      Microsoft.ServiceBus.Messaging::MessagingEntityNotFoundException
      Microsoft.ServiceBus.Messaging::NoMatchingSubscriptionException
      Microsoft.ServiceBus.Messaging::PairedMessagingFactoryException
      Microsoft.ServiceBus.Messaging::PartitionNotOwnedException
      Microsoft.ServiceBus.Messaging::QuotaExceededException
      Microsoft.ServiceBus.Messaging::ReceiverDisconnectedException
      Microsoft.ServiceBus.Messaging::RuleActionException
      Microsoft.ServiceBus.Messaging::SendAvailabilityMessagingException
      Microsoft.ServiceBus.Messaging::ServerBusyException
      Microsoft.ServiceBus.Messaging::SessionCannotBeLockedException
      Microsoft.ServiceBus.Messaging::SessionLockLostException

Community Additions

ADD
Show:
© 2014 Microsoft