c# - Calling a method from WS, parameter input type issue -


i have following operation in webservice interface:

[operationcontract]   list<vcard> getvcards(int[] vcardids); 

and error when trying write code calling it:

enter image description here

what doing wrong?

thanks

you have type missmatch wrap cardlist new observablecollection() needed. e.g. before call service, 'course if it's following program semantic

service.getvcardsasync(new observablecollection<int>(cardlist)) 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -