예제 #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(VirtualNumberManagerClient.GetEndpointAddress(EndpointConfiguration.WSHttpBinding_IVirtualNumberManager));
 }
예제 #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(VirtualNumberManagerClient.GetBindingForEndpoint(EndpointConfiguration.WSHttpBinding_IVirtualNumberManager));
 }
예제 #3
0
 public VirtualNumberManagerClient(EndpointConfiguration endpointConfiguration) :
     base(VirtualNumberManagerClient.GetBindingForEndpoint(endpointConfiguration), VirtualNumberManagerClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #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);
 }
예제 #5
0
 public VirtualNumberManagerClient() :
     base(VirtualNumberManagerClient.GetDefaultBinding(), VirtualNumberManagerClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.WSHttpBinding_IVirtualNumberManager.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }