static void Main(string[] args)
        {
            ICOMComponent component = new SampleICOMComponent();
            //expected interface in the legacy com world
            var hresult = component.Excute(null);

            IDotNetComponent component2 = new SampleDotNetComponent();
            //expected interface in the .net world
            try
            {
                component2.Excute(null);
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
 public SampleDotNetComponent()
 {
     this.wrappedIcomComponent = new SampleICOMComponent();
 }