Exemple #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(BTransactionClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IBTransaction));
 }
Exemple #2
0
 public BTransactionClient(EndpointConfiguration endpointConfiguration) :
     base(BTransactionClient.GetBindingForEndpoint(endpointConfiguration), BTransactionClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }