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