Cape Object BaseValidate Method
Validates the PMC.
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 virtual bool Validate(
ref string message
)VB
Public Overridable Function Validate (
ByRef message As String
) As BooleanParameters
- message String
- Reference to a string that will conain a message regarding the validation of the parameter.
Return Value
Booleantrue, if the unit is valid.
false, if the unit is not valid.
Remarks
Validates the parameter collection. This base-class implementation of this method traverses the parameter collections and calls the Validate(String) method of each member parameter. The PMC is valid if all parameters are valid, which is signified by the Validate method returning true.
Exceptions
| ECapeUnknown | The error to be raised when other error(s), specified for this operation, are not suitable. |
| ECapeBadCOParameter | ECapeBadCOParameter |
| ECapeBadInvOrder | ECapeBadInvOrder |