Silverlight : How to pass data from the reqest to the respose using Webclient Asychronous mode ?

Posted by user318332 on Stack Overflow See other posts from Stack Overflow or by user318332
Published on 2010-05-03T12:42:33Z Indexed on 2010/05/03 15:08 UTC
Read the original article Hit count: 266

Filed under:
|

This is probably a basic question ..

void method1() 
{ 
    String VIP = "test";
    WebClient proxy = new WebClient();
    proxy.OpenReadCompleted += new OpenReadCompletedEventHandler(proxy_OpenReadCompleted);
    String urlStr = "someurl/lookup?q=" + keyEntityName + "&fme=1&edo=1&edi=1";
}



void proxy_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
{ 

}

I need to access VIP in the proxy_OpenReadCompleted method. Pl. help

© Stack Overflow or respective owner

Related posts about c#

Related posts about Silverlight