Export (0) Print
Expand All

ArgumentOutOfRangeException Constructor (SerializationInfo, StreamingContext)

.NET Framework 1.1

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

[Visual Basic]
Protected Sub New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
[C#]
protected ArgumentOutOfRangeException(
   SerializationInfo info,
 StreamingContext context
);
[C++]
protected: ArgumentOutOfRangeException(
   SerializationInfo* info,
 StreamingContext context
);
[JScript]
protected function ArgumentOutOfRangeException(
   info : SerializationInfo,
 context : StreamingContext
);

Parameters

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

Remarks

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

Requirements

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

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

Show:
© 2014 Microsoft