Redigera

Dela via


ObjectDisposedException.ObjectName Property

Definition

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