No overload for method 'query' takes 5 arguments salesforce

前端 未结 2 600
别那么骄傲
别那么骄傲 2021-01-28 22:55

I am connecting with salesforce api, I have imported Salesforce enterprise Wsdl to my project.

I can authenticate user but I am having Problem while querying records, I\

相关标签:
2条回答
  • 2021-01-28 23:18

    You are trying to pass to much parameters to the method.

    Hover on the method, press F12 and look at the number of arguments the method expects, Then solve your problem accordingly.

    0 讨论(0)
  • 2021-01-28 23:26

    This error is due to difference in number of parameters pass in definition of method and calling. You have passed 5 parameters to the query method and in definition may be different parameters count. Check the query method parameters count and then pass correct count of parameters when calling.

    0 讨论(0)
提交回复
热议问题