← Interactive API Explorer
Namespace: System

FormatException

The exception that is thrown when the format of an argument is invalid, or when a composite format string is not well formed.

Methods (1)

FormatException(String)Constructor
Initializes a new instance of the FormatException class with a specified error message.
ParameterDescription
messageThe message that describes the error.