Initializes a new instance of the Exception class with serialized data.
Namespace: XMLCommentsExamples.DocumentationInheritanceAssembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
Parameters
- info
- Type: System.Runtime.Serialization SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- Type: System.Runtime.Serialization StreamingContext
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