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);

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