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.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:
© 2015 Microsoft