コード例 #1
0
ファイル: Reference.cs プロジェクト: fhy01/Garderie
 public CategorieServiceClient(EndpointConfiguration endpointConfiguration) :
     base(CategorieServiceClient.GetBindingForEndpoint(endpointConfiguration), CategorieServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: fhy01/Garderie
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CategorieServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ICategorieService));
 }