예제 #1
0
        public String onGetSessionData(String pSessionID)
        {
            if (InvokeRequired)
            {
                BeginInvoke(new onGetSessionDataDelegate(onGetSessionData), new object[] { pSessionID });
                return(String.Empty);
            } // if (InvokeRequired)

            String lRetVal = String.Empty;

            lRetVal = cTask.getSessionData(pSessionID);

            return(lRetVal);
        }
예제 #2
0
        public String onGetSessionData(String pSessionName)
        {
            if (InvokeRequired)
            {
                BeginInvoke(new onGetSessionDataDelegate(onGetSessionData), new object[] { pSessionName });
                return(String.Empty);
            } // if (InvokeRequired)

            String lRetVal = String.Empty;

            try
            {
                lRetVal = cTask.getSessionData(pSessionName);
            }
            catch (Exception lEx)
            {
                PluginParameters.HostApplication.LogMessage(String.Format("{0}: {1}", Config.PluginName, lEx.Message));
            }

            return(lRetVal);
        }