bahram10
چهارشنبه 20 آذر 1392, 11:32 صبح
سلام بچه ها خسته نباشید
میخوام تبدیل نوع کنم ولی خطا میده که unable cast ....
با asم امتحان کردم نمیشه این سورس من:
SoapSmsQueuableImplementationService sms = new SoapSmsQueuableImplementationService();
sms.Credentials = new NetworkCredential(username, password);
sms.PreAuthenticate = true;
object[] mes= sms.getAllMessages(domain,numberOfMessages);
CustomerReturnIncomingFormat[] value = mes as CustomerReturnIncomingFormat[];//خطا
return value;
خواهشا هر کی میتونه سریع کمکم کنه کارم مونده:ناراحت:
میخوام تبدیل نوع کنم ولی خطا میده که unable cast ....
با asم امتحان کردم نمیشه این سورس من:
SoapSmsQueuableImplementationService sms = new SoapSmsQueuableImplementationService();
sms.Credentials = new NetworkCredential(username, password);
sms.PreAuthenticate = true;
object[] mes= sms.getAllMessages(domain,numberOfMessages);
CustomerReturnIncomingFormat[] value = mes as CustomerReturnIncomingFormat[];//خطا
return value;
خواهشا هر کی میتونه سریع کمکم کنه کارم مونده:ناراحت: