EventTopicException Constructor (String, Exception)

Initializes a new instance with a specified error message and a reference to the inner exception that is the cause of this exception.

Namespace: Microsoft.Practices.CompositeUI.EventBroker
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New EventTopicException(message, innerException)
public EventTopicException (
    string message,
    Exception innerException
)
public:
EventTopicException (
    String^ message, 
    Exception^ innerException
)
public EventTopicException (
    String message, 
    Exception innerException
)
public function EventTopicException (
    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, or a null reference if no inner exception is specified.

See Also

Reference

EventTopicException Class
EventTopicException Members
Microsoft.Practices.CompositeUI.EventBroker Namespace