Ejemplo n.º 1
0
        private void Initialization()
        {
            PubSubClientCallback _clientCallback = new PubSubClientCallback();

            var InstanceContext = new InstanceContext(_clientCallback);

            serviceConnectionInitialization = new ServiceConnectionInitialization(InstanceContext);
        }
Ejemplo n.º 2
0
 private PubSubClient(PubSubClientCallback callbackImpl, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
     this(new System.ServiceModel.InstanceContext(callbackImpl), binding, remoteAddress)
 {
     useGeneratedCallback = true;
     callbackImpl.Initialize(this);
 }