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)); } }); });
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.