ParameterValidationResult Constructor (ParameterValidationResultCode, String, String)

Constructor to create a custom parameter validation result.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)


Dim code As ParameterValidationResultCode
Dim errorMessage As String
Dim errorParameter As String

Dim instance As New ParameterValidationResult(code, errorMessage, errorParameter)


Public Sub New ( _
    code As ParameterValidationResultCode, _
    errorMessage As String, _
    errorParameter As String _
public ParameterValidationResult (
    ParameterValidationResultCode code,
    string errorMessage,
    string errorParameter
ParameterValidationResult (
    ParameterValidationResultCode code, 
    String^ errorMessage, 
    String^ errorParameter
public ParameterValidationResult (
    ParameterValidationResultCode code, 
    String errorMessage, 
    String errorParameter
public function ParameterValidationResult (
    code : ParameterValidationResultCode, 
    errorMessage : String, 
    errorParameter : String


  • code
    Result code for parameter validation.
  • errorMessage
    Validation error message to be displayed to the user.
  • errorParameter
    Name of the parameter which has validation errors.


Target Platforms

See Also


ParameterValidationResult Class
ParameterValidationResult Members
Microsoft.MetadirectoryServices Namespace