System.Runtime.Remoting.Activation.ContextLevelActivator.Activate C# (CSharp) Méthode

Activate() private méthode

private Activate ( IConstructionCallMessage ctorMsg ) : IConstructionReturnMessage
ctorMsg IConstructionCallMessage
Résultat IConstructionReturnMessage
        public virtual IConstructionReturnMessage Activate(
            IConstructionCallMessage ctorMsg)
        {
            // remove ourselves from the Activator chain
            ctorMsg.Activator = ctorMsg.Activator.NextActivator;
            
            // Delegate to remoting services to do the hard work.
            // This will create a context, enter it, run through
            // the context sink chain & then delegate to the nex
            // activator inside the ctorMsg (quite likely to be 
            // the default ConstructionLevelActivator)
            return ActivationServices.DoCrossContextActivation(ctorMsg);
        }        
    }