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