示例#1
0
        private void btn_delConf_Click(object sender, EventArgs e)
        {
            try
            {
                DelConfInfo _delConfInfo = new DelConfInfo();
                _delConfInfo.userId = this.txt_AccountId.Text.Trim();

                List <DeleteMeetingBaseParam> list  = new List <DeleteMeetingBaseParam>();
                DeleteMeetingBaseParam        param = new DeleteMeetingBaseParam();
                param.confId = this.txt_confId.Text.Trim();
                param.gwIp   = this.txt_gwIp.Text.Trim();
                list.Add(param);

                _delConfInfo.deleteItem = list;

                DelConfResponse result = ecBusiness.DelConf(_delConfInfo);
                if (result != null)
                {
                    this.txt_ResultCode.Text = result.resultCode;
                    this.txt_Content.Text    = result.resultContext;
                    this.txt_ResultInfo.Text = eSDKServiceHelper.GetJsonString(result);
                    if (result.resultCode == "0")
                    {
                        this.WriteLog("call delete conference success.");
                    }
                    else
                    {
                        this.WriteLog("call delete conference failed," + result.resultContext);
                    }
                }
                else
                {
                    this.WriteLog("call delete conference failed,response is null.");
                }
            }
            catch (Exception ex)
            {
                this.WriteLog("call delete conference failed," + ex.Message);
            }
        }
示例#2
0
        public static DelConfResponse delConf(DelConfInfo info)
        {
            DelConfResponse result = eSDKServiceHelper.CallService <DelConfResponse>(EcConstUri.delete_ctc_uri, HttpMethod.POST, info);

            return(result);
        }
示例#3
0
        /// <summary>
        /// 删除会议
        /// </summary>
        /// <param name="info"></param>
        /// <returns></returns>
        public DelConfResponse DelConf(DelConfInfo info)
        {
            DelConfResponse result = eSDKServiceHelper.delConf(info);

            return(result);
        }