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