コード例 #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.Channels.Binding GetDefaultBinding()
 {
     return(WcfDuplexServiceClientBase.GetBindingForEndpoint(EndpointConfiguration.tcp_nosecurity_callback_IWcfDuplexService));
 }