Hi there,
How do i call a WCF web service which has an out parameter,
Example:
My service has the following signature
public List<Entity> ListAll(string languageID, out ResultObject resultObject) { }
When i consume this service in my SL application (code below), i only get to pass the languageID not the resultObject
Binding binding = new BasicHttpBinding();
EndpointAddress address = new EndpointAddress("http://localhost:5309/ContextManager/EntityService.svc");ContextManager.EntityService.EntityServiceClient proxy = new ListViewDataGrid.ContextManager.EntityService.EntityServiceClient(binding, address);
proxy.ListAllCompleted +=
new EventHandler<ListViewDataGrid.ContextManager.EntityService.ListAllCompletedEventArgs>(proxy_ListAllCompleted);
proxy.ListAllAsync(
"en-US"); // it is not asking for the ResultObject parameter.
Thanx in advance