Mono Class Library: System Namespace

System.FormatException Class

Represents errors caused by passing incorrectly formatted arguments or invalid format specifiers to methods. [Edit]

See Also: FormatException Members

System.Object
     System.Exception
          System.SystemException
               System.FormatException

[System.Runtime.InteropServices.ComVisible(true)]
public class FormatException : SystemException

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note: FormatException is thrown from Parse methods when a string being parsed contains characters that are not valid according to the specified style (passed via the style parameter) or default style. FormatException is thrown from ToString methods when a format specifier (passed via the format parameter) is not a valid format for the type of the current instance.
[Edit]

Requirements

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