ObjectDisposedException.Message Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the message that describes the error.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

Public Overrides ReadOnly Property Message As String
public override string Message { get; }

Property Value

Type: System..::.String
A string that describes the error.

Remarks

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

This property overrides Exception..::.Message.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ObjectDisposedException Class

System Namespace