UnitOperationValidatedEventArgs 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)
public UnitOperationValidatedEventArgs(
	string unitName,
	string message,
	CapeValidationStatus oldStatus,
	CapeValidationStatus newStatus
)

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.

See Also