DuplicateMessageException DuplicateMessageException Class

Exception for signaling message duplicate errors.

Syntax

Declaration

[Serializable]
public sealed class DuplicateMessageException : MessagingException, ISerializable, _Exception<Serializable>
Public NotInheritable Class DuplicateMessageException
    Inherits MessagingException
    Implements ISerializable, _Exception

Inheritance Hierarchy

Constructors summary

Initializes a new instance of the DuplicateMessageException class.

Initializes a new instance of the DuplicateMessageException class.

Constructors

  • DuplicateMessageException(String)
    DuplicateMessageException(String)

    Initializes a new instance of the DuplicateMessageException class.

    public DuplicateMessageException(string message)Public Sub New(message As String)

    Parameters

    • message

      The error message about the exception.

  • DuplicateMessageException(String, Exception)
    DuplicateMessageException(String, Exception)

    Initializes a new instance of the DuplicateMessageException class.

    public DuplicateMessageException(string message, Exception innerException)Public Sub New(message As String, innerException As Exception)

    Parameters

    • message

      The error message about the exception.

    • innerException

      The inner exception that is the cause of the current exception.

Details

Namespace

Microsoft.ServiceBus.Messaging

Assembly

Microsoft.ServiceBus.dll