public sealed class GPExecuteToolEvent : ArcGIS.Core.Events.CompositePresentationEvent<GPExecuteToolEventArgs>
Public NotInheritable Class GPExecuteToolEvent Inherits ArcGIS.Core.Events.CompositePresentationEvent(Of GPExecuteToolEventArgs)
public sealed class GPExecuteToolEvent : ArcGIS.Core.Events.CompositePresentationEvent<GPExecuteToolEventArgs>
Public NotInheritable Class GPExecuteToolEvent Inherits ArcGIS.Core.Events.CompositePresentationEvent(Of GPExecuteToolEventArgs)
ArcGIS.Desktop.Core.Events.GPExecuteToolEvent.Subscribe(e => { string id = e.ID; // Same as history ID if (e.IsStarting == false) // Execute completed _ = e.GPResult.ReturnValue; System.Windows.MessageBox.Show("event triggered."); }); await Geoprocessing.ExecuteToolAsync("management.GetCount", Geoprocessing.MakeValueArray(@"c:\shape_file.shp"));
System.Object
ArcGIS.Core.Events.EventBase
ArcGIS.Core.Events.CompositePresentationEvent<TPayload>
ArcGIS.Desktop.Core.Events.GPExecuteToolEvent
Target Platforms: Windows 11, Windows 10