Class ActivationException
- Namespace
- Dynamicweb.Extensibility.Providers
- Assembly
- Dynamicweb.Extensibility.dll
The standard exception thrown when a ServiceLocator has an error in resolving an object.
[Serializable]
public class ActivationException : Exception, ISerializable
- Inheritance
-
ActivationException
- Implements
- Inherited Members
Constructors
ActivationException()
Initializes a new instance of the Exception class.
public ActivationException()
ActivationException(SerializationInfo, StreamingContext)
Initializes a new instance of the Exception class with serialized data.
protected ActivationException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfo- The SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContext- The StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
- The
info
parameter is null. - SerializationException
- The class name is null or HResult is zero (0).
ActivationException(string)
Initializes a new instance of the Exception class with a specified error message.
public ActivationException(string message)
Parameters
message
string- The message that describes the error.
ActivationException(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.
public ActivationException(string message, Exception innerException)