PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomInvalid­Formatting­String­ExceptionInvalid­Formatting­String­Exception
Open sandboxFocus

InvalidFormattingStringException Constructor

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
System.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
System.String message
Exception inner

InvalidFormattingStringException(SerializationInfo, StreamingContext)

Deserialization constructor.

Declaration
protected InvalidFormattingStringException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
StreamingContext context