示例#1
0
        internal void DoSetCOMIUnknown(IntPtr pUnk)
        {
            // this call needs to be intercepted by the proxy, before we come into the context
            // Unless the client and component live in the same context (but in different AppDomains)
            // then the proxy will not be able to intercept, so we need to do this here.
            DBG.Info(DBG.SC, "ServicedComponent.DoSetCOMIUnknown, setting it in the proxy myself.  Punk=" + pUnk);
            RealProxy rp = RemotingServices.GetRealProxy(this);

            rp.SetCOMIUnknown(pUnk);
        }
 public override void SetCOMIUnknown(IntPtr pUnk)
 {
     _pxy.SetCOMIUnknown(pUnk);
 }