Share via


InputValidationException Constructor (String)

Initializes a new instance of the InputValidationException class with a specified error message.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New InputValidationException(message)
public InputValidationException (
    string message
)
public:
InputValidationException (
    String^ message
)
public InputValidationException (
    String message
)
public function InputValidationException (
    message : String
)

Parameters

  • message
    A message that describes the error.

Remarks

By default, this constructor sets the severity level to Error. The base DataException class does not implement this constructor.

See Also

Reference

InputValidationException Class
InputValidationException Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
Message
DataException