Open sandboxFocus

Constructor InvalidFormattingStringException

InvalidFormattingStringException()

Initializes a new InvalidFormattingStringException with the default error message.

Declaration
public InvalidFormattingStringException()

InvalidFormattingStringException(string)

Initializes a new InvalidFormattingStringException and specifies the error message.

Declaration
public InvalidFormattingStringException(string message)
Parameters
Type Name Description
string message

The error message.

InvalidFormattingStringException(string, Exception)

Initializes a new InvalidFormattingStringException and specifies the error message and the inner Exception.

Declaration
public InvalidFormattingStringException(string message, Exception inner)
Parameters
Type Name Description
string message
Exception inner

InvalidFormattingStringException(SerializationInfo, StreamingContext)

Deserialization constructor.

Declaration
protected InvalidFormattingStringException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context