Export (0) Print
Expand All

ObjectDisposedException Constructor

.NET Framework 1.1

Initializes a new instance of the ObjectDisposedException class.

Overload List

Initializes a new instance of the ObjectDisposedException class with a string containing the name of the disposed object.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public ObjectDisposedException(string);
[C++] public: ObjectDisposedException(String*);
[JScript] public function ObjectDisposedException(String);

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

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

Initializes a new instance of the ObjectDisposedException class with the specified object name and message.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, String)
[C#] public ObjectDisposedException(string, string);
[C++] public: ObjectDisposedException(String*, String*);
[JScript] public function ObjectDisposedException(String, String);

See Also

ObjectDisposedException Class | ObjectDisposedException Members | System Namespace

Show:
© 2014 Microsoft