Mono Class Library: System.IO.FileLoadException Overview | Members

System.IO.FileLoadException.Message Property

Gets the error message that describes the current exception. [Edit]

public override string Message { get; }

Value

A string containing a message that describes the error that caused the current exception. [Edit]

Remarks

If the message supplied to the constructor for the current instance was not null , this property returns that message. Otherwise, this property returns a system-supplied message that includes the name of the file that was not loaded, for example, "Unable to load file a FileName." (a FileName represents the value returned by FileLoadException.FileName.) If FileLoadException.FileName is null, this is indicated in the system-supplied message as "(null)". The system-supplied message takes into account the current system culture.

This property is read-only.

Note: This property overrides Exception.Message .

[Edit]

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0