Beispiel #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(VirtualNumberManagerClient.GetEndpointAddress(EndpointConfiguration.WSHttpBinding_IVirtualNumberManager));
 }
Beispiel #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(VirtualNumberManagerClient.GetBindingForEndpoint(EndpointConfiguration.WSHttpBinding_IVirtualNumberManager));
 }
Beispiel #3
0
 public VirtualNumberManagerClient(EndpointConfiguration endpointConfiguration) :
     base(VirtualNumberManagerClient.GetBindingForEndpoint(endpointConfiguration), VirtualNumberManagerClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Beispiel #4
0
 public VirtualNumberManagerClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(VirtualNumberManagerClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Beispiel #5
0
 public VirtualNumberManagerClient() :
     base(VirtualNumberManagerClient.GetDefaultBinding(), VirtualNumberManagerClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.WSHttpBinding_IVirtualNumberManager.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }