ESRI.ArcGIS.ADF.ArcGISServer.Editor
PreToolExecute Event
See Also  Send Feedback
ESRI.ArcGIS.ADF.ArcGISServer.Editor Namespace > EditorTask Class : PreToolExecute Event




The event raised prior to an EditorTool's server action execution.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Fires before an EditorTool is executed.")>
<ResCategoryAttribute("Editing")>
Public Event PreToolExecute As PreToolExecuteEventHandler
Visual Basic (Usage)Copy Code
Dim instance As EditorTask
Dim handler As PreToolExecuteEventHandler
 
AddHandler instance.PreToolExecute, handler
C# 
[ResDescriptionAttribute("Fires before an EditorTool is executed.")]
[ResCategoryAttribute("Editing")]
public event PreToolExecuteEventHandler PreToolExecute

Event Data

The event handler receives an argument of type PreToolExecuteEventArgs containing data related to this event. The following PreToolExecuteEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Event handlers can set this to false to cancel the tool's execution.
ReturnMessage (Inherited from ESRI.ArcGIS.ADF.ArcGISServer.Editor.Tools.ToolbarItemEventArgs) This can be set by event handlers to display a message in the browser.
ServerAction (Inherited from ESRI.ArcGIS.ADF.ArcGISServer.Editor.Tools.EditorToolEventArgs) The EditorServerToolAction that is associated with the EditorTool.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.