This documentation is archived and is not being maintained.

ObjectDisposedException Constructor

Initializes a new instance of the ObjectDisposedException class.

Name Description
ObjectDisposedException (String) Initializes a new instance of the ObjectDisposedException class with a string containing the name of the disposed object.

Supported by the .NET Compact Framework.

ObjectDisposedException (SerializationInfo, StreamingContext) Initializes a new instance of the ObjectDisposedException class with serialized data.
ObjectDisposedException (String, Exception) Initializes a new instance of the ObjectDisposedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
ObjectDisposedException (String, String) Initializes a new instance of the ObjectDisposedException class with the specified object name and message.

Supported by the .NET Compact Framework.

Show: