ValidateClassVersion static method
void
ValidateClassVersion(
- ExchangeService service,
- ExchangeVersion minimumServerVersion,
- String className
Implementation
static void ValidateClassVersion(ExchangeService service,
ExchangeVersion minimumServerVersion, String className) {
if (service.RequestedServerVersion.index < minimumServerVersion.index) {
throw new ServiceVersionException("""string.Format(
Strings.ClassIncompatibleWithRequestVersion,
className,
minimumServerVersion)""");
}
}