Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I pass List through the Call External Method User control?

0
Posted

Can I pass List through the Call External Method User control?

0

Please refer the example given below: In the service definition, alias is a list of string. [ExternalDataExchange] internal interface IVotingService { event EventHandler ApproveProposal; event EventHandler RejectProposal; void CreateBallot(List alias); } For a complete example, download the hands-on lab from the link: http://www.microsoft.com/downloads/thankyou.aspx?familyId=2e575633-e357-4ee7-aaff-34138f00e830&displayLang=en Use lab5, exercise 1 and change the IVotingService void CreateBallot(string alias); to void CreateBallot(List alias); You must change all the references to CreateBallot to make it work.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123