Xceed DataGrid for WPF v7.2 Documentation
InvalidValueException Constructor(String,Exception)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Stats Namespace > InvalidValueException Class > InvalidValueException Constructor : InvalidValueException Constructor(String,Exception)

The error message that explains the reason for the exception.

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception has been specified.

Initializes a new instance of the InvalidValueException class with a specified error message and the inner exception that is the case of this exception.
Syntax
'Declaration
 
Public Function New( _

   ByVal message As String, _

   ByVal innerException As Exception _

)
'Usage
 
Dim message As String

Dim innerException As Exception

 

Dim instance As New InvalidValueException(message, innerException)
public InvalidValueException( 

   string message,

   Exception innerException

)

Parameters

message

The error message that explains the reason for the exception.

innerException

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception has been specified.

Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

InvalidValueException Class
InvalidValueException Members
Overload List