laptop and a wrench

漏洞

The 'Add Service Reference' feature for an ArcGIS Pro add-in does not recognize the classes associated with the service.

上次发布: February 25, 2016 ArcGIS Pro SDK for .NET
漏洞 ID 编号 BUG-000094145
已提交February 11, 2016
上次修改时间June 11, 2020
适用范围ArcGIS Pro SDK for .NET
找到的版本N/A
操作系统Windows
操作系统版本7.0 64 Bit
状态In Review

解决办法

Use 'Add Web Reference' in the Visual Studio project as follows: 1. Right-click the project name in Solution Explorer > Add > Service Reference. 2. In the Add Service Reference dialog box, click 'Advanced...', and click 'Add Web Reference' at the bottom of the Service Reference Settings dialog. 3. Enter the URL, and click the right arrow next to the text box. 4. Click 'Add Reference', and add the reference in the project as: using ProAppModule1.com.arcgisonline.sampleserver6; 5. In the OnClick event of the button, add: Census_MapServer test = new Census_MapServer(); int mapcount = test.GetMapCount();

重现步骤

漏洞 ID: BUG-000094145

软件:

  • ArcGIS Pro SDK for .NET

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项