Validate method
void
Validate()
Implementation
// ExchangeServiceBase(ExchangeServiceBase service)
// : this(service, service.RequestedServerVersion)
// {
// }
/// <summary>
/// Validates this instance.
/// </summary>
void Validate() {
// Done in ExchangeService.Validate in the C# API; the properties live here.
if (PrivilegedUserId != null && ImpersonatedUserId != null) {
throw ServiceLocalException(
"Can't set both impersonated user and privileged user in the ExchangeService object.",
);
}
}