GetLogicalCallContext() 개인적인 메소드

private GetLogicalCallContext ( ) : LogicalCallContext
리턴 LogicalCallContext
예제 #1
0
        private LogicalCallContext FetchLogicalCallContext()
        {
            ReturnMessage message = this._crmsg as ReturnMessage;

            if (message != null)
            {
                return(message.GetLogicalCallContext());
            }
            MethodResponse response = this._crmsg as MethodResponse;

            if (response == null)
            {
                throw new RemotingException(Environment.GetResourceString("Remoting_Message_BadType"));
            }
            return(response.GetLogicalCallContext());
        }