Parameter Validated Event Args Constructor
Creates an instance of the ParameterValidatedEventArgs class for the parameter.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public ParameterValidatedEventArgs(
string paramName,
string message,
CapeValidationStatus oldStatus,
CapeValidationStatus newStatus
)VB
Public Sub New (
paramName As String,
message As String,
oldStatus As CapeValidationStatus,
newStatus As CapeValidationStatus
)Parameters
- paramName String
- The name of the parameter being changed.
- message String
- The message indicating the results of the parameter validation.
- oldStatus CapeValidationStatus
- The status of the parameter prior to validation.
- newStatus CapeValidationStatus
- The status of the parameter after the validation.
Remarks
You can use this constructor when raising the ParameterValidatedEventArgs at run time to
the message about the parameter validation.