This documentation is archived and is not being maintained.

ObjectDisposedException.Message Property

Gets the message that describes the error.

[Visual Basic]
Overrides Public ReadOnly Property Message As String
[C#]
public override string Message {get;}
[C++]
public: __property String* get_Message();
[JScript]
public override function get Message() : String;

Property Value

A string that describes the error.

Remarks

If the ObjectName property is not a null reference (Nothing in Visual Basic), the message includes the name of the object.

This property overrides Exception.Message.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

ObjectDisposedException Class | ObjectDisposedException Members | System Namespace

Show: