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