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