ObjectDisposedException.ObjectName Property

May 11, 2014

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:
© 2014 Microsoft