Default Binding Fails On Second Try

Oct 12, 2009 at 1:49 PM

I found the following code that allows us to get a default binding.

var result = new ClogServiceClient(new ClogBasicHttpBinding(),
new EndpointAddress(new Uri(HtmlPage.Document.DocumentUri, "ClogService.svc")));

Altough it works fine when we try to get the configuration, the second time, when it writes to the log, it does it from a Service Callback (another thread) and it fails because the HtmlPage.Document can only be accessed from the UI Thread.

Coordinator
Oct 12, 2009 at 4:32 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.