Mono Class Library: System.BadImageFormatException Overview | Members

System.BadImageFormatException.Message Property

Gets a string that describes the error that caused the current exception.

public override string Message { get; }

Value

A string containing the error description.

Remarks

If no message was supplied to the constructor for the current exception, this property returns a system-supplied error message. If the BadImageFormatException.FileName property is not null , the message includes the file name.

This property is read-only.

Requirements

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