Esempio n. 1
0
        public virtual ServiceBindingType CreateServiceBinding(Uri serviceUrl)
        {
            ServiceBindingType serviceBindingType = BaseServiceCallingContext <ServiceBindingType> .CreateDefaultServiceBinding();

            this.SetServiceUrl(serviceBindingType, serviceUrl);
            return(serviceBindingType);
        }
Esempio n. 2
0
 public virtual void SetServiceApiContext(ServiceBindingType binding, string mailboxEmailAddress)
 {
     binding.HttpContext = BaseServiceCallingContext <ServiceBindingType> .CreateHttpContext(mailboxEmailAddress);
 }