public SendMessage(string userID, string passWord) { this.UserID = userID; this.PassWord = passWord; try { this._sendClient = new ServiceManage.SendMessagesService.hsyzSoapClient(); this.SMSBodyMaxLenght = Convert.ToInt32(ConfigurationSettings.AppSettings["SendMessageBodyMaxLenght"].Trim()); this._MsgDelaySender = new ServiceManage.SendDelayMessage.wsMsgSending(); this._MsgDelaySender.Url = ConfigurationSettings.AppSettings["MsgDelaySenderWebService"]; } catch (Exception Ex) { } }