Class ActivationException
The standard exception thrown when a ServiceLocator has an error in resolving an object.
Inheritance
Namespace: EPiServer.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class ActivationException : Exception
Remarks
This derives from http://commonservicelocator.codeplex.com/.
Constructors
ActivationException()
Initializes a new instance of the System.
Declaration
public ActivationException()
ActivationException(SerializationInfo, StreamingContext)
Initializes a new instance of the System.
Declaration
protected ActivationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | The System. |
System. |
context | The System. |
Exceptions
Type | Condition |
---|---|
System. |
The |
System. |
The class name is null or System. |
ActivationException(String)
Initializes a new instance of the System.
Declaration
public ActivationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message that describes the error. |
ActivationException(String, Exception)
Initializes a new instance of the System.
Declaration
public ActivationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The error message that explains the reason for the exception. |
System. |
innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |