This creates a validation exception for a single error message.
Namespace: Nehta.VendorLibrary.CommonAssembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.0 (1.0.0.0)
Syntax
C# |
---|
public ValidationException( string name, string value, string message ) |
Visual Basic |
---|
Public Sub New ( _ name As String, _ value As String, _ message As String _ ) |
Visual C++ |
---|
public: ValidationException( String^ name, String^ value, String^ message ) |
Parameters
- name
- Type: System..::..String
Name of the parameter.
- value
- Type: System..::..String
Value of the parameter.
- message
- Type: System..::..String
The error message.