<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>12 Jun 2016 22:37:00 Z</lastBuildDate><pubDate>12 Jun 2016 17:09:00 Z</pubDate><description>Hello Gang !&#13;
&#13;
I have a problem with dot net object method.&#13;
The dot net assemblies is written in C# and compiled with visual studio 2015.&#13;
&#13;
The method is&#13;
&#13;
// SendCodeRequest&#13;
//&#13;
// Parameters:&#13;
// phoneNumber : UNICODE string&#13;
// Return Value:&#13;
// Task&lt;string&gt;&#13;
&#13;
[ &lt;Result&gt; = ] SendCodeRequest (LOCAL phoneNumber is UNICODE string)&#13;
&#13;
I know the method is working but I can't get the return Value Task&lt;string&gt;&#13;
&#13;
Info(myobject:sendcoderequest(MyPhoneNumber)) or Trace(myobject:sendcoderequest(MyPhoneNumber)) doesnot work .&#13;
what ever i do There is error :&#13;
An element of '.NET Object' type cannot be converted to the 'string' type.&#13;
&#13;
&#13;
How to get returned value ??&#13;
Thanks !!</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58075-problem-with-dot-net-method-return-value-taskltstringgt/read.awp</link><title>problem with dot net method return value Task&amp;lt;string&amp;gt;</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58075-problem-with-dot-net-method-return-value-taskltstringgt-58076/read.awp</comments><pubDate>12 Jun 2016 22:37:00 Z</pubDate><description>Hi&#13;
&#13;
from what you are showing us, there must be a "task" class in your assembly&#13;
Declare/instantiate an object from this class…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58075-problem-with-dot-net-method-return-value-taskltstringgt-58076/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58075-problem-with-dot-net-method-return-value-taskltstringgt-58076/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58075-problem-with-dot-net-method-return-value-taskltstringgt/read.awp">problem with dot net method return value Task&amp;lt;string&amp;gt;</source><title>Re: problem with dot net method return value Task&amp;lt;string&amp;gt;</title></item></channel></rss>
