コード例 #1
0
 public CatalogoNormasClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(CatalogoNormasClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #2
0
 public CatalogoNormasClient(EndpointConfiguration endpointConfiguration) :
     base(CatalogoNormasClient.GetBindingForEndpoint(endpointConfiguration), CatalogoNormasClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #3
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CatalogoNormasClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ICatalogoNormas));
 }
コード例 #4
0
 public CatalogoNormasClient() :
     base(CatalogoNormasClient.GetDefaultBinding(), CatalogoNormasClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ICatalogoNormas.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #5
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(CatalogoNormasClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ICatalogoNormas));
 }