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

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