Share via


QueueException Constructor (String, Exception)

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new instance of the RouterSubscriptionException class, using the specified message and inner exception.

Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)

Usage

    Dim message As String
Dim innerException As Exception

Dim instance As New QueueException(message, innerException)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public QueueException (
    string message,
    Exception innerException
)
public:
QueueException (
    String^ message, 
    Exception^ innerException
)
public QueueException (
    String message, 
    Exception innerException
)
public function QueueException (
    message : String, 
    innerException : Exception
)

Parameters

  • message
    The error message that explains the reason for the exception.
  • innerException
    The exception that is the cause of the current exception.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

QueueException Class
QueueException Members
Microsoft.ServiceBus Namespace