InputValidationException Constructor (String, Severity)
Initializes a new instance of the InputValidationException class with a specified error message and severity.
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, _
severity As Severity _
)
'Usage
Dim message As String
Dim severity As Severity
Dim instance As New InputValidationException(message, severity)
public InputValidationException (
string message,
Severity severity
)
public:
InputValidationException (
String^ message,
Severity severity
)
public InputValidationException (
String message,
Severity severity
)
public function InputValidationException (
message : String,
severity : Severity
)
Parameters
- message
A message that describes the error.
- severity
The severity of the error that is encountered during validation.
Remarks
The possible severities are Error, Warning, and Information.
See Also
Reference
InputValidationException Class
InputValidationException Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
Message
Severity
DataException