System.Runtime.Serialization.Formatters.Binary.BinaryMethodReturnMessage.PopulateMessageProperties C# (CSharp) Method

PopulateMessageProperties() private method

private PopulateMessageProperties ( IDictionary dict ) : void
dict IDictionary
return void
        internal void PopulateMessageProperties(IDictionary dict)
        {
            foreach (DictionaryEntry de in _properties)
            {
                dict[de.Key] = de.Value;
            }
        }
    }

Usage Example

示例#1
0
文件: message.cs 项目: ArildF/masters
        internal MethodResponse(IMethodCallMessage msg,
                                Object handlerObject,
                                BinaryMethodReturnMessage smuggledMrm)
        {

            if (msg != null)
            {
                MI = (MethodBase)msg.MethodBase;
                _methodCache = InternalRemotingServices.GetReflectionCachedData(MI);
            
                methodName = msg.MethodName;
                uri = msg.Uri;
                typeName = msg.TypeName;

                if (_methodCache.IsOverloaded())
                    methodSignature = (Type[])msg.MethodSignature;

                argCount = _methodCache.Parameters.Length;

            }
           
            retVal = smuggledMrm.ReturnValue;
            outArgs = smuggledMrm.Args;
            fault = smuggledMrm.Exception;

            callContext = smuggledMrm.LogicalCallContext;

            if (smuggledMrm.HasProperties)
                smuggledMrm.PopulateMessageProperties(Properties);           
            
            fSoap = false;
        }
All Usage Examples Of System.Runtime.Serialization.Formatters.Binary.BinaryMethodReturnMessage::PopulateMessageProperties