示例#1
0
 public OrderServiceClientBase(System.ServiceModel.InstanceContext callbackInstance, EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(callbackInstance, OrderServiceClientBase.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
示例#2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(OrderServiceClientBase.GetEndpointAddress(EndpointConfiguration.NetHttpBinding_IOrderService));
 }
示例#3
0
 public OrderServiceClientBase(System.ServiceModel.InstanceContext callbackInstance) :
     base(callbackInstance, OrderServiceClientBase.GetDefaultBinding(), OrderServiceClientBase.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.NetHttpBinding_IOrderService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
示例#4
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(OrderServiceClientBase.GetBindingForEndpoint(EndpointConfiguration.NetHttpBinding_IOrderService));
 }