示例#1
0
 public PersonServiceClient() :
     base(PersonServiceClient.GetDefaultBinding(), PersonServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IPersonService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }