private void PublisherThreadFunc()
 {
     try
     {
         this.publisher = new WDEProgramPublisher() as IWDEProgramPublisher;
         this.wdeProgramNodeSingleton = new ProgramNode(this.controller);
         this.gchWdeProgramNode = GCHandle.Alloc(this.wdeProgramNodeSingleton);
         this.publisher.Publish(this.wdeProgramNodeSingleton);
         this.isPublished = true;
     }
     catch (Exception)
     {
     }
 }
Beispiel #2
0
 private void PublisherThreadFunc()
 {
     try
     {
         this.publisher = new WDEProgramPublisher() as IWDEProgramPublisher;
         this.wdeProgramNodeSingleton = new ProgramNode(this.controller);
         this.gchWdeProgramNode       = GCHandle.Alloc(this.wdeProgramNodeSingleton);
         this.publisher.Publish(this.wdeProgramNodeSingleton);
         this.isPublished = true;
     }
     catch (Exception)
     {
     }
 }
Beispiel #3
0
        private void PublisherThreadFunc()
        {
            try
            {
                this.publisher = new WDEProgramPublisher() as IWDEProgramPublisher;
                this.wdeProgramNodeSingleton = new ProgramNode(this.controller);
                this.gchWdeProgramNode       = GCHandle.Alloc(this.wdeProgramNodeSingleton);

                this.publisher.Publish(this.wdeProgramNodeSingleton);
                this.isPublished = true;
            }
            catch (Exception e)
            {
                // Ignore any exceptions that are caused by WDE.dll not being present or registered.
                Debug.WriteLine("WDE: ProgramPublisher.PublisherThreadFunc() exception: " + e.ToString());
            }
        }
        private void PublisherThreadFunc()
        {
            try
            {
                this.publisher = new WDEProgramPublisher() as IWDEProgramPublisher;
                this.wdeProgramNodeSingleton = new ProgramNode(this.controller);
                this.gchWdeProgramNode = GCHandle.Alloc(this.wdeProgramNodeSingleton);

                this.publisher.Publish(this.wdeProgramNodeSingleton);
                this.isPublished = true;
            }
            catch (Exception e)
            {
                // Ignore any exceptions that are caused by WDE.dll not being present or registered.
                Debug.WriteLine("WDE: ProgramPublisher.PublisherThreadFunc() exception: " + e.ToString());
            }
        }