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)


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

Property Value

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


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


Windows Phone

See Also


ObjectDisposedException Class

System Namespace