コード例 #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(Service1SoapClient.GetEndpointAddress(EndpointConfiguration.Service1Soap));
 }
コード例 #2
0
 public Service1SoapClient(EndpointConfiguration endpointConfiguration) :
     base(Service1SoapClient.GetBindingForEndpoint(endpointConfiguration), Service1SoapClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }