Share via


MessagingException Constructor (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.

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

Syntax

public MessagingException(
    string message,
    Exception innerException
)
public:
MessagingException(
    String^ message,
    Exception^ innerException
)
new : 
        message:string *
        innerException:Exception -> MessagingException
Public Sub New (
    message As String,
    innerException As Exception
)

Parameters

  • message
    Type: System.String

    The error message that explains the reason for the exception.

  • innerException
    Type: System.Exception

    The exception that is the cause of the current exception.

See Also

MessagingException Overload
MessagingException Class
Microsoft.WindowsAzure.Messaging Namespace

Return to top