コード例 #1
0
ファイル: Reference.cs プロジェクト: fhy01/Garderie
 public CategorieServiceClient(EndpointConfiguration endpointConfiguration, string remoteAddress) :
     base(CategorieServiceClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #2
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);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: fhy01/Garderie
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CategorieServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ICategorieService));
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: fhy01/Garderie
 public CategorieServiceClient() :
     base(CategorieServiceClient.GetDefaultBinding(), CategorieServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ICategorieService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: fhy01/Garderie
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(CategorieServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ICategorieService));
 }