LocalServer.InitializeAsync(() => { if (LocalServer.LicenseStatus != LicenseStatus.Valid) { MessageBox.Show("This ArcGIS Runtime license is not valid"); } LocalGeoprocessingService lgs = new LocalGeoprocessingService(@C:\...\GeoprocessingTool.GPK, GPServiceType.SubmitJob); lgs.StartAsync((d) => { if (d.Error != null) { MessageBox.Show(string.Format("{0}", d.Error.Message)); } }); });
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.