ServiceObject constructor

ServiceObject(
  1. ExchangeService service
)
constructor. EWS service to which this object belongs.

Implementation

ServiceObject(ExchangeService service) {
  EwsUtilities.ValidateParam(service, "service");
  EwsUtilities.ValidateServiceObjectVersion(
    this,
    service.RequestedServerVersion,
  );

  _service = service;
  _propertyBag = core.PropertyBag(this);
}