Mono Class Library: System.BadImageFormatException Overview | Members

System.BadImageFormatException.ToString Method

Returns a string representation of the value of the current exception. [Edit]

public override string ToString ()

Returns

A string representation of the current exception. [Edit]

Remarks

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

Note: This method overrides Exception.ToString .

[Edit]

Requirements

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