Unit Operation Validated Event Args Constructor
Creates an instance of the UnitValidatedEventArgs class for the unit operation .
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 UnitOperationValidatedEventArgs(
string unitName,
string message,
CapeValidationStatus oldStatus,
CapeValidationStatus newStatus
)VB
Public Sub New (
unitName As String,
message As String,
oldStatus As CapeValidationStatus,
newStatus As CapeValidationStatus
)Parameters
- unitName String
- The name of the unit operation being changed.
- message String
- The message indicating the results of the unit operation validation.
- oldStatus CapeValidationStatus
- The status of the unit operation prior to validation.
- newStatus CapeValidationStatus
- The status of the unit operation after the validation.
Remarks
You can use this constructor when raising the UnitValidatedEventArgs at run time to
the message about the parameter validation.