Visual Studio Wcf测试客户端-输入一个Int数组


94

在快速测试WCF服务时,我发现Visual Studio WCF测试客户端非常有用。这是相对于Visual Studio安装目录的以下位置中的测试客户端:

\ Common7 \ IDE \ WcfTestClient.exe

我有一些服务呼叫需要一个类型为System.Int32 []的
参数,因为我不断收到错误,我似乎无法弄清楚要为此参数输入哪些值

“ [输入的值]”不是此类型的有效值

尝试输入值27我尝试了以下操作,但均失败

27
{27}
新的System.Int32 [] {27}

任何人都可以帮忙怎么做

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.