Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ObjectDisposedException Constructor (SerializationInfo, StreamingContext)

.NET Framework 1.1

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

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

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.

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

ObjectDisposedException Class | ObjectDisposedException Members | System Namespace | ObjectDisposedException Constructor Overload List

Show:
© 2015 Microsoft