Beispiel #1
0
 public WebRoleServiceSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(WebRoleServiceSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Beispiel #2
0
 public WebRoleServiceSoapClient(EndpointConfiguration endpointConfiguration) :
     base(WebRoleServiceSoapClient.GetBindingForEndpoint(endpointConfiguration), WebRoleServiceSoapClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }