示例#1
0
文件: Reference.cs 项目: HongGit/wcf
 public WcfDuplexServiceClientBase(System.ServiceModel.InstanceContext callbackInstance, EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(callbackInstance, WcfDuplexServiceClientBase.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
示例#2
0
文件: Reference.cs 项目: HongGit/wcf
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(WcfDuplexServiceClientBase.GetEndpointAddress(EndpointConfiguration.tcp_nosecurity_callback_IWcfDuplexService));
 }
示例#3
0
文件: Reference.cs 项目: HongGit/wcf
 public WcfDuplexServiceClientBase(System.ServiceModel.InstanceContext callbackInstance) :
     base(callbackInstance, WcfDuplexServiceClientBase.GetDefaultBinding(), WcfDuplexServiceClientBase.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.tcp_nosecurity_callback_IWcfDuplexService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
示例#4
0
文件: Reference.cs 项目: HongGit/wcf
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(WcfDuplexServiceClientBase.GetBindingForEndpoint(EndpointConfiguration.tcp_nosecurity_callback_IWcfDuplexService));
 }