public void receive_reply(ClientRequestInfo ri) { try { ServiceContext context = ri.get_reply_service_context(1000); m_lastContextElement = (TestServiceContext)m_codec.decode(context.context_data); } catch (BAD_PARAM) { m_lastContextElement = null; // not found } }
public void receive_reply(ClientRequestInfo ri) { if (MustNonInterceptCall(ri)) { return; } m_inPathResult = InPathResult.Reply; try { ServiceContext context = ri.get_reply_service_context(1000); m_lastContextElement = (TestServiceContext)m_codec.decode(context.context_data); } catch (BAD_PARAM) { m_lastContextElement = null; // not found } }