ObjectDisposedException.ObjectName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the disposed object.
public:
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.
Remarks
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.