Exemple #1
0
 public MediaPersonClient(EndpointConfiguration endpointConfiguration) :
     base(MediaPersonClient.GetBindingForEndpoint(endpointConfiguration), MediaPersonClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemple #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(MediaPersonClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IMediaPerson));
 }