GetMethodBase() приватный Метод

private GetMethodBase ( ) : MethodBase
Результат System.Reflection.MethodBase
Пример #1
0
        public MethodResponse(Header[] h1, IMethodCallMessage mcm)
        {
            if (mcm == null)
            {
                throw new ArgumentNullException("mcm");
            }
            Message message = mcm as Message;

            if (message != null)
            {
                this.MI = message.GetMethodBase();
            }
            else
            {
                this.MI = mcm.MethodBase;
            }
            if (this.MI == null)
            {
                throw new RemotingException(string.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Message_MethodMissing"), new object[] { mcm.MethodName, mcm.TypeName }));
            }
            this._methodCache = InternalRemotingServices.GetReflectionCachedData(this.MI);
            this.argCount     = this._methodCache.Parameters.Length;
            this.fSoap        = true;
            this.FillHeaders(h1);
        }