| ActivationException Constructor (String, Exception) |
Initializes a new instance of the
Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.Practices.ServiceLocationAssembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public ActivationException(
string message,
Exception innerException
)
Public Sub New (
message As String,
innerException As Exception
)
public:
ActivationException(
String^ message,
Exception^ innerException
)
new :
message : string *
innerException : Exception -> ActivationException
Parameters
- message
- Type: SystemString
The error message that explains the reason for the exception.
- innerException
- Type: SystemException
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
See Also