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