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