I'm just a starter in silverlight and WCF. I came across a very good article [here](http://www.netfxharmonics.com/2008/11/Understanding-WCF-Services-in-Silverlight-2) by Miguel A. Castro which teaches to add the WCF manually. I have the contract service setup and the only thing I left is to get the data back from the service in the silveright. I have a hard time translate the code to vb.net.

```
                BasicHttpBinding basicHttpBinding = new BasicHttpBinding();
                EndpointAddress endpointAddress = new EndpointAddress("/Person.svc");
                IPersonService personService = new ChannelFactory<IPersonService>(basicHttpBinding, endpointAddress).CreateChannel();
                //+
                AsyncCallback asyncCallBack = delegate(IAsyncResult result)
                {
                    Person person = ((IPersonService)result.AsyncState).EndGetPersonData(result);
                    this.Dispatcher.BeginInvoke(delegate
                    {
                        spMain.Children.Add(new TextBlock
                        {
                            Text = person.FirstName 
                        });

                    });
                };
                personService.BeginGetPersonData("F488D20B-FC27-4631-9FB9-83AF616AB5A6", asyncCallBack, personService);

```

`AsyncCallback asyncCallBack = delegate(IAsyncResult result) {`

and 

`this.Dispatcher.BeginInvoke(delegate {` 

How should that be written in vb.net?

Thanks for the help.