System.IO.FileLoadException.ToString Method

Returns the fully qualified name of the current exception, and possibly the error message, the name of the inner exception, and the stack trace.

Syntax

public override string ToString ()

Returns

A string containing the fully qualified name of this exception, and possibly the error message, the name of the inner exception, and the stack trace, depending on which System.IO.FileLoadException constructor is used.

Remarks

This method overrides object.ToString.

The string representation returned by this method includes the name of the exception, the value of the FileLoadException.Message the value of the FileLoadException.FileName property, and the result of calling Environment.StackTrace. If any of these members is a null reference, its value is not included in the returned string.

Requirements

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