ObjectDisposedException.ObjectName Property


Gets the name of the disposed object.

 property System::String ^ ObjectName { System::String ^ get(); };
public string ObjectName { get; }
member this.ObjectName : string
Public ReadOnly Property ObjectName As String

Property Value

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.

Applies to