InternalValidate method
Implementation
@override
void InternalValidate() {
super.InternalValidate();
if (State == OofState.Scheduled) {
if (Duration == null) {
throw ArgumentException(
"Duration must be specified when State is equal to Scheduled.",
);
}
EwsUtilities.ValidateParam(Duration, "Duration");
}
}