ObjectName Property
Collapse the table of content
Expand the table of content

ObjectDisposedException.ObjectName Property

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

Gets the name of the disposed object.

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

public string ObjectName { get; }

Property Value

Type: System.String
A string containing the name of the disposed object.

If the current property is not null or String.Empty, the value of this property is included in the string returned by the Message property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft