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