System.Runtime.Remoting.RemotingServices.InternalGetMethodBaseFromMethodMessage C# (CSharp) Méthode

InternalGetMethodBaseFromMethodMessage() static private méthode

static private InternalGetMethodBaseFromMethodMessage ( IMethodMessage msg ) : MethodBase
msg IMethodMessage
Résultat MethodBase
        internal static MethodBase InternalGetMethodBaseFromMethodMessage(IMethodMessage msg)
        {
            if(null == msg)
            {
                return null;
            }
            
            Type t = RemotingServices.InternalGetTypeFromQualifiedTypeName(msg.TypeName);
            if (t == null)
            {
                throw new RemotingException(
                    String.Format(
                        CultureInfo.CurrentCulture, Environment.GetResourceString(
                            "Remoting_BadType"),
                        msg.TypeName));

            }
            
            // Use the signature, type and method name to determine the
            // methodbase via reflection.
            Type[] signature = (Type[])msg.MethodSignature;                     
            return GetMethodBase(msg, t, signature);            
        }
        
RemotingServices