GetLogicalCallContext() private method

private GetLogicalCallContext ( ) : LogicalCallContext
return LogicalCallContext
示例#1
0
        private LogicalCallContext FetchLogicalCallContext()
        {
            ConstructorCallMessage message = this._ccmsg as ConstructorCallMessage;

            if (message != null)
            {
                return(message.GetLogicalCallContext());
            }
            if (!(this._ccmsg is ConstructionCall))
            {
                throw new RemotingException(Environment.GetResourceString("Remoting_Message_BadType"));
            }
            return(((MethodCall)this._ccmsg).GetLogicalCallContext());
        }