What are these extra parameters in my ASMX Proxy Methods?

后端 未结 4 1324
没有蜡笔的小新
没有蜡笔的小新 2020-12-19 05:29

If I add a web reference from a .NET 1.1 client to a WCF service, the proxy methods generated at the client contain an extra parameter ending with the suffix \'Specified\' f

4条回答
  •  失恋的感觉
    2020-12-19 05:50

    You probably need t osay that your parameters are required

    [OperationContract] 
    string HelloWorld([RequiredDataParameter] string foo,
                      [RequiredDataParameter] int bar);
    

提交回复
热议问题