ObjectDisposedException::ObjectName Property

 

Gets the name of the disposed object.

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

public:
property String^ ObjectName {
	String^ 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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: