J
Jet Leung
Hi all,
I had made a method that will return a string type value. And I invoke this
method in a string type delegate .And how can I get the return value when
the method finish processing.
for example:
public string A()
{
...
return A_value;
}
public class C_A
{
delegate string delegate_A;
public C_A()
{
delegate_A D_A=new deleagate_A(A);
D_A.BeginInvoke(null,null);
}
}
Like this the method has a string type return value, and when I call it in a
delegate ,how can I get the return value from the method A?
I had made a method that will return a string type value. And I invoke this
method in a string type delegate .And how can I get the return value when
the method finish processing.
for example:
public string A()
{
...
return A_value;
}
public class C_A
{
delegate string delegate_A;
public C_A()
{
delegate_A D_A=new deleagate_A(A);
D_A.BeginInvoke(null,null);
}
}
Like this the method has a string type return value, and when I call it in a
delegate ,how can I get the return value from the method A?