ActivationException Constructor (SerializationInfo, StreamingContext)

Simple Injector
Initializes a new instance of the Exception class with serialized data.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 5.0.0
Syntax

protected ActivationException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.SerializationStreamingContext
The StreamingContext that contains contextual information about the source or destination.
Exceptions

ExceptionCondition
ArgumentNullExceptioninfo is .
SerializationExceptionThe class name is or HResult is zero (0).
See Also

Reference