private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(GroupsClient.GetEndpointAddress(EndpointConfiguration.WSHttpBinding_IGroups)); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(GroupsClient.GetBindingForEndpoint(EndpointConfiguration.WSHttpBinding_IGroups)); }
public GroupsClient(EndpointConfiguration endpointConfiguration) : base(GroupsClient.GetBindingForEndpoint(endpointConfiguration), GroupsClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public GroupsClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(GroupsClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public GroupsClient() : base(GroupsClient.GetDefaultBinding(), GroupsClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.WSHttpBinding_IGroups.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }