ModuleLoadException 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.Services
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

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

Dim instance As New ModuleLoadException(message, exception)
public ModuleLoadException (
    string message,
    Exception exception
)
public:
ModuleLoadException (
    String^ message, 
    Exception^ exception
)
public ModuleLoadException (
    String message, 
    Exception exception
)
public function ModuleLoadException (
    message : String, 
    exception : Exception
)

Parameters

  • message
    The error message that explains the reason for the exception.
  • exception
    The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

See Also

Reference

ModuleLoadException Class
ModuleLoadException Members
Microsoft.Practices.CompositeUI.Services Namespace