Visual Basic (Declaration)
Visual Basic (Usage)
C#
C++/CLI
Parameters
- info
- The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
Exception | Description |
---|---|
System.ArgumentNullException | The info parameter is null. |
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2