Initializes a new instance of the Exception class with serialized data.
Namespace: SimpleInjector
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
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
Exception | Condition |
---|---|
ArgumentNullException | info is . |
SerializationException | The class name is or HResult is zero (0). |
See Also