ObjectDisposedException.Message Property

Definition

Gets the message that describes the error.

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

Property Value

A string that describes the error.

Remarks

If the ObjectName property is not null, the message includes the name of the object.

This property overrides Exception.Message.

Applies to