InvalidValueException InvalidValueException InvalidValueException Constructors

Definition

Overloads

InvalidValueException(String) InvalidValueException(String) InvalidValueException(String)

Initializes a new instance of the InvalidValueException class.

InvalidValueException(String, Exception) InvalidValueException(String, Exception) InvalidValueException(String, Exception)

Initializes a new instance of the InvalidValueException class.

InvalidValueException(String) InvalidValueException(String) InvalidValueException(String)

Initializes a new instance of the InvalidValueException class.

public:
 InvalidValueException(System::String ^ msg);
public InvalidValueException (string msg);
Public Sub New (msg As String)
Parameters
msg
String String String

An error message that explains the reason for the exception, or an empty string.

InvalidValueException(String, Exception) InvalidValueException(String, Exception) InvalidValueException(String, Exception)

Initializes a new instance of the InvalidValueException class.

public:
 InvalidValueException(System::String ^ msg, Exception ^ e);
public InvalidValueException (string msg, Exception e);
Public Sub New (msg As String, e As Exception)
Parameters
msg
String String String

An error message that explains the reason for the exception, or an empty string.

e
Exception Exception Exception

Inner exception that is the cause of this exception.

Applies to