Пример #1
0
 private DuplexServiceClient(DuplexServiceClientCallback callbackImpl, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
     this(new System.ServiceModel.InstanceContext(callbackImpl), binding, remoteAddress)
 {
     useGeneratedCallback = true;
     callbackImpl.Initialize(this);
 }
Пример #2
0
 private DuplexServiceClient(DuplexServiceClientCallback callbackImpl) :
     this(new System.ServiceModel.InstanceContext(callbackImpl))
 {
     useGeneratedCallback = true;
     callbackImpl.Initialize(this);
 }
Пример #3
0
 private DuplexServiceClient(DuplexServiceClientCallback callbackImpl, string endpointConfigurationName) :
     this(new System.ServiceModel.InstanceContext(callbackImpl), endpointConfigurationName)
 {
     useGeneratedCallback = true;
     callbackImpl.Initialize(this);
 }