When overridden in a derived class, sets the
SerializationInfo with information about the exception.
Syntax
Parameters
- info
- The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- The StreamingContext that contains contextual information about the source or destination.
Exceptions
Exception |
Description |
ArgumentNullException |
The info parameter is a null reference (Nothing in Visual Basic). |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also