This documentation is archived and is not being maintained.

ArgumentException Constructor (SerializationInfo, StreamingContext)

.NET Framework 1.1

Initializes a new instance of the ArgumentException class with serialized data.

[Visual Basic]
Protected Sub New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
protected ArgumentException(
   SerializationInfo info,
 StreamingContext context
protected: ArgumentException(
   SerializationInfo* info,
 StreamingContext context
protected function ArgumentException(
   info : SerializationInfo,
 context : StreamingContext


The object that holds the serialized object data.
The contextual information about the source or destination.


This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ArgumentException Class | ArgumentException Members | System Namespace | ArgumentException Constructor Overload List | XML and SOAP Serialization