Open sandboxFocus

Constructor InvalidFormattingStringException

InvalidFormattingStringException()

Initializes a new instance of the InvalidFormattingStringException class with the default error message.

Declaration
public InvalidFormattingStringException()

InvalidFormattingStringException(string)

Initializes a new instance of the InvalidFormattingStringException class 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 instance of the InvalidFormattingStringException class and specifies the error message and the inner Exception.

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

The error message.

Exception inner

The inner Exception.

InvalidFormattingStringException(SerializationInfo, StreamingContext)

Deserialization constructor.

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